打开settings->compile,在other compiler options添加下面两行代码:
-fexec-charset=GBK-finput-charset=UTF-8
win10下clodeblocks编译C语言乱码
原文:http://www.cnblogs.com/lqcdsns/p/6457896.html