On 3/17/11, Tom <[email protected]> wrote: > 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... >
You probably already know this, but you can do that programmatically:
import std.process;
void main()
{
system("chcp 1252");
}
