Unicode -> Windows 1252

Tom tom at nospam.com
Wed Mar 16 17:03:33 PDT 2011


El 16/03/2011 20:36, Tom escribió:
> El 16/03/2011 19:27, Andrej Mitrovic escribió:
>> import std.c.windows.windows;
>> extern(Windows) BOOL SetConsoleOutputCP(UINT);
>> SetConsoleOutputCP(65001);
>
> Tried a bunch of values and all yields the same result.
>
> Thanks anyway.


Forget it, I'll just use chcp...


More information about the Digitalmars-d-learn mailing list