问题
Currently it defaults to my system locale, which is 932 (Japanese Shift-JIS) in my case, but I want it to be 65001 (UTF-8) by default.
I can change the default for a given program by inserting a SetConsoleOutputCP line somewhere in the code and then removing it, but doing it for every program is pretty annoying.
Any suggestions?
来源:https://stackoverflow.com/questions/7454111/change-default-code-page-for-debug-console-in-vs10