关于“Some characters cannot be mapped using "GB2312" character encoding. ”的问题
2014-06-10 11:08
405 查看
今天在做项目时,遇到了一个问题。因为是在别人做好的基础上改东西,所以,一些东西不能按照自己的变成习惯来。就比如,我创建项目习惯刚建完就设置字符的编码集为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,解决
MyEclipse --> window -->
Preferences --> General --> Content Types --> Text --> 单击
Java Properties File,在底部出现 'Default edcodng:',改成UTF-8,然后update.
改完了之后,还是不行(此时我的jsp页面的编码集还是GB2312)。后来,将编码集改成了UTF-8,解决
相关文章推荐
- Some characters cannot be mapped using "Cp1252" character encoding 解决方法
- some characters cannot be mapped using"ISO-8859-1 (2012-06-09 17:55:05)
- eclipse出现 Some characters cannot be mapped using "GBK" character encoding 错误
- Zend Studio出现 Some characters cannot be mapped using "GBK" character encoding 错误
- Some characters cannot be mapped using "GBK" character encoding.
- myEclipse保存jsp文件时报错:some characters cannot be mapped using "ISO-8859-1" character encoding
- Some characters cannot be mapped using "ISO - 8859 -1" character encoding 解决方法
- Some characters cannot be mapped using "GBK" character encoding.
- MyEclipse编辑js的时候出现some characters cannot be mapped using "ISO-8859-1" charater encoding
- Some characters cannot be mapped using "GBK" character encoding.
- Myeclipse - some characters cannot be mapped using "ISO-8859-1" charater encoding
- some characters cannot be mapped using"ISO-8859-1'/ GBK MYeclipse
- Some characters cannot be mapped using "Cp1252" character encoding 解决方法
- Zend Studio出现 Some characters cannot be mapped using "GBK" character encoding 错误
- MyEclipse实操错误2: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 'ISO-8859-1' character encoding
- Some characters cannot be mapped using "GBK" character encoding 的解决办法
- 解决问题Some characters cannot be mapped using 'ISO-8859-1' character encoding