首页 > 其他 > 详细

VS C4819 编译错误解决方法

时间:2016-11-05 23:07:40      阅读:393      评论:0      收藏:0      [点我收藏+]

偶尔用别人的代码,出现:

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

百度基本的推荐做法是将文件修改编码另存为一下。有时很好奇究竟是声明字符导致该错误,直接删掉就不可以了。

这里提供另一种方法,看图:

技术分享

 

我这里完美解决,删除之,警告消失:

技术分享

 

VS C4819 编译错误解决方法

原文:http://www.cnblogs.com/through/p/6033992.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!