关于“Some characters cannot be mapped using "GB2312" character encoding. ”的问题
来源:互联网 发布:sql 字符串拼接 编辑:程序博客网 时间:2024/04/25 11:27
今天在做项目时,遇到了一个问题。因为是在别人做好的基础上改东西,所以,一些东西不能按照自己的变成习惯来。就比如,我创建项目习惯刚建完就设置字符的编码集为UTF-8,而人家的项目就未必是那样了。好了,废话不多了。问题如下:一个jsp页面(里面有Java代码)的编码集为GB2312,而我修改里面东西时死活不让我保存,一保存就提示“Some characters cannot be mapped using "GB2312" character encoding……”。将字符集改来改去都不行。后来,在网上查了一下,解决如下:
MyEclipse --> window --> Preferences --> General --> Content Types --> Text --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成UTF-8,然后update.
改完了之后,还是不行(此时我的jsp页面的编码集还是GB2312)。后来,将编码集改成了UTF-8,解决
0 0
- 关于“Some characters cannot be mapped using "GB2312" character encoding. ”的问题
- Some characters cannot be mapped using "Cp1252" character encoding 解决方法
- Some characters cannot be mapped using "GBK" character encoding
- Some characters cannot be mapped using "GBK" character encoding.
- Some characters cannot be mapped using "GBK" character encoding.
- Some characters cannot be mapped using "Cp1252" character encoding 解决方法
- some characters cannot be mapped using “Cp1252″ character encoding.
- Some characters cannot be mapped using "GBK" character encoding.
- Some characters cannot be mapped using "GBK" character encoding
- Some characters cannot be mapped using "GBK" character encoding
- Some characters cannot be mapped using "GBK" character encoding 错误
- eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误代码的解决办法
- MyEclipse中,some characters cannot be mapped using “ISO-8859-1“ character encoding错误的解决办法
- eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误代码的解决办法
- eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误代码的解决办法
- eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误代码的解决办法
- eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误代码的解决办法
- Save could not be completed. Reason: some characters cannot be mapped using “ISO-8859-1“ character encoding.的解决方案分析
- filesystem.squashfs failed
- Orchard CMS 中创建新的Content Type
- ubuntu手动安装mysql个人实践
- ARM 状态寄存器总结
- SharePoint 2010 用列表模板新建列表
- 关于“Some characters cannot be mapped using "GB2312" character encoding. ”的问题
- 将耳机和USB插孔设置在手机侧面的简直是脑残设计
- 矩阵快速幂求Fibonacci
- Oracle Sql 性能优化
- android linux层检测sd卡是否已经mount
- NET代码审查工具
- Maven项目中压缩js和Css代码
- Struts2返回JSON数据的具体应用范例
- java二维码生成与解析代码实现