源代码使用 BOM utf-8;每个源代码加上#if _MSC_VER >= 1600 #pragma execution_character_set("utf-8") #endif 完成以上两部,就可以 utf-8 中文编辑,中文编译了。