On Sunday, 25 January 2015 at 18:23:03 UTC, Suliman wrote:
Why we can not simply automatically switch CMD to UTF-8 before app start?I do not see any minuses in this solution.
+1. I use
import std.stdio;
import std.c.windows.windows;
void main()
{
SetConsoleOutputCP(65001);
writeln(utf-8 text);
}
