warning C4819: The file contains a character that cannot be represented in the current code page
来源:互联网 发布:淘宝解锁苹果id可靠吗 编辑:程序博客网 时间:2024/04/29 07:31
VC程序编译时出现 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 的警告信息,意思是文件中包含有不属于Unicode编码的字符,建议把文件保存为Unicode格式以避免数据丢失。
造成出现此警告的原因可能是该源文件之前有用别的文本编辑器打开并转换了文件的编码格式,我就是用了Visual Studio Code转换成了UTF-8格式。
解决方法 1:在VS中打开该源文件 -> Ctrl+A 全选 -> 菜单栏 File -> Advanced save options -> 选择编码方式:Unicode - codepage 1200 即可;
解决方法 2:在VS中打开该源文件 -> Save As 另存为 -> 在保存按钮下拉选择 Save with encoding -> 选择编码方式:Unicode - codepage 1200 即可。
阅读全文
0 0
- warning C4819: The file contains a character that cannot be represented in the current code page
- warning C4819: The file contains a character that cannot be represented in the current code page
- warning C4819: The file contains a character that cannot be represented in the current code page
- warning C4819: The file contains a character that cannot be represented in the current code page
- warning C4819: The file contains a character that cannot be represented in the current code page (9
- warning C4819: The file contains a character that cannot be represented in the current code page (93
- Warning C4819:The file contains a character that can not be represented in the current code page(936
- Warning C4819:The file contains a character that can ot be represented in the current code page(936)
- The file contains a character that cannot be represented in the current code page (936)
- VSE: The file contains a character that cannot be represented in the current code page (936).
- warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the cu
- warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the cu
- warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the cu
- warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the c
- warning C4819 解决方案 warning C4819: The file contains a character that cannot be represented in the cu
- SQL 2005 Tips --事务处理The current transaction cannot be committed and cannot support operations that write to the log file
- Highlighting the Current Page in a Navigating Bar
- The page cannot be displayed
- BZOJ4031: [HEOI2015]小Z的房间
- 洛谷Oj-约瑟夫问题-模拟
- Java String 类
- SEandroid 安全机制---整体框架
- 判断系统是32位还是64位
- warning C4819: The file contains a character that cannot be represented in the current code page
- 非常详细的Fiddler工具使用说明(包含APP抓包)
- Linux初次登陆、重置MySQL密码步骤,以及错误Unknown column 'password' in 'field list'的解决方法
- 傅盛创业方法论之CEO系列:一家公司最大瓶颈就是CEO
- cocos2dx 植物大战僵尸 20 卷心菜投手
- ZOJ Hello World!
- AD有原理图导入PCB时提示ECO的原因
- jQuery-addClass()与removeClass()
- nginx模块_使用gdb调试nginx源码