就是设置执行字符集,指示char的执行字符集是UTF-8编码。如果源文件中出现中文,必须要设置为
#pragma execution_character_set("utf-8")
references:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2f328917-4e99-40be-adfa-35cc17c9cdec/pragma-executioncharactersetutf8?forum=vcgeneral
http://www.cnblogs.com/Romi/archive/2012/03/12/2392478.html
http://www.cnblogs.com/zyl910/archive/2012/07/26/cfile_utf8.html
时间: 2024-10-13 05:40:13