msxml3: Use CP_UNIXCP instead of CP_ACP in libxmlFatalError as the input string is one generated by a native OS function.
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index ef62c9f..554b048 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -1272,10 +1272,10 @@
vsprintf(message, msg, args);
va_end(args);
- len = MultiByteToWideChar(CP_ACP, 0, message, -1, NULL, 0);
+ len = MultiByteToWideChar(CP_UNIXCP, 0, message, -1, NULL, 0);
wszError = HeapAlloc(GetProcessHeap(), 0, sizeof(WCHAR)*len);
if(wszError)
- MultiByteToWideChar(CP_ACP, 0, message, -1, (LPWSTR)wszError, len);
+ MultiByteToWideChar(CP_UNIXCP, 0, message, -1, (LPWSTR)wszError, len);
if(This->vbInterface)
{