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

Kirill K. Smirnov lich at math.spbu.ru
Mon Apr 23 07:10:01 CDT 2007


> > "Kirill K. Smirnov" <lich at math.spbu.ru> 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.
>
> I tested under Windows 2003 and SetConsoleOutputCP does NOT change the
> behaviour of WriteConsoleA for me.
> Does Windows play us a trick?
I've re-tested with Windows XP - the result is not changed.
Mystery?

--
Kirill



More information about the wine-devel mailing list