settings->compiler settings
在other resource compiler options 中添加:
-finput-charset=WINDOWS-936
-fexec-charset=GBK
即可。
codeblocks运行时汉字变乱码

相关文章: