[PATCH] kernel32: Output message to stderr in UTF-8

Alex Henrie alexhenrie24 at gmail.com
Tue Oct 25 14:36:24 CDT 2011


Last week I submitted a patch to make kernel32 output an error message
in UTF-8 rather than the current codepage. This fixed a bug in which
the command "wine /." would produce a garbled error message in
languages other than English. However, thinking about this some more,
I'm not sure that my patch fixes the bug correctly. I made
WideCharToMultiByte use CP_UTF8 instead of CP_ACP, but reading more
about the codepage setting, I think I should have used either
CP_UNIXCP or CP_OEMCP. Could anyone help clarify which should be used?


More information about the wine-devel mailing list