VC 已经经历了超过12个版本,用不同版本进行编译的话总会遇到一些问题。这里把这些错误记录一下,以便查找。
1 warning C4819:
warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss.
源代码文件中有些字符无法识别,中文系统默认采用CP936,另存为 Unicode 编码文件即可。
[1] http://www.crazycpp.com/?p=130
[2] http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/94153c9d-64ad-4f41-848c-c96b359e4542/unicode-error
2 待续

本文记录了在使用VC进行编译时遇到的warning C4819问题及其解决办法。该警告提示文件包含无法在当前代码页(936)中表示的字符,建议将文件另存为Unicode格式以避免数据丢失。
1万+

被折叠的 条评论
为什么被折叠?



