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

2011-10-25 Thread Nicolas Le Cam
2011/10/25 Alex Henrie : > Hello, > > 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 abou

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

2011-10-25 Thread Alex Henrie
Hello, 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

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

2011-10-18 Thread Dmitry Timoshkov
Alex Henrie wrote: > -WideCharToMultiByte( CP_ACP, 0, msgW, -1, msg, sizeof(msg), NULL, > NULL ); > +WideCharToMultiByte( CP_UTF8, 0, msgW, -1, msg, sizeof(msg), NULL, > NULL ); > MESSAGE( "wine: %s", msg ); Try CP_UNIXCP intead. -- Dmitry.