Change default code page for debug console in VS10

笑着哭i 提交于 2019-12-13 18:08:06

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!