Commit 857a35e2 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Use UTF-8 encoding in NewURI by default.

parent cf8eacf1
......@@ -3343,7 +3343,10 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
}
}
MultiByteToWideChar(CP_ACP, 0, spec, -1, new_spec, sizeof(new_spec)/sizeof(WCHAR));
if(aOriginCharset && strcasecmp(aOriginCharset, "utf-8"))
FIXME("Unsupported charset %s\n", debugstr_a(aOriginCharset));
MultiByteToWideChar(CP_UTF8, 0, spec, -1, new_spec, sizeof(new_spec)/sizeof(WCHAR));
if(base_wine_uri) {
hres = combine_url(base_wine_uri->uri, new_spec, &urlmon_uri);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment