Fix xcopy so output is either unicode (console) or oem (file)

Dmitry Timoshkov dmitry at
Mon Apr 23 07:00:15 CDT 2007

"Kirill K. Smirnov" <lich at> wrote:

>> The written strings in 866 and 1251 code pages are only readable
>> when output console code page matches the string encoding.
> This is in wine.
> In windows only cp866 is readable regardless of ConsoleOutputCP.

As I said I tested under Windows (XP) only, and SetConsoleOutputCP
does change the behaviour of WriteConsoleA for me. If it wouldn't
I'd call it a bug.


More information about the wine-devel mailing list