mshtml: Use UTF-8 encoding in NewURI by default.
This commit is contained in:
parent
cf8eacf1c1
commit
857a35e2a7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue