Re: [PATCH 4/4] mshtml: Add IHTMLXMLHttpRequest::statusText property implementation.
22 Jul
2015
22 Jul
'15
10:31 p.m.
Hi Zhenbo, On 22/07/15 17:34, Zhenbo Li wrote:
+ len = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0); + *p = SysAllocStringLen(NULL, len); + if(!*p) { + nsACString_Finish(nscstr); + return E_OUTOFMEMORY; + } + MultiByteToWideChar(CP_ACP, 0, str, -1, *p, len);
I didn't catch it earlier, but this should use CP_UTF8. Cheers, Jacek
3799
Age (days ago)
3799
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban