Vs+Qt,运行后,中文字符显示乱码

87 阅读1分钟

//在头文件前面加上下面几行代码 #ifdef WIN32 #pragma execution_character_set("utf-8") #endif