myeclipse 中的'ISO-8859-1'编码问题
在myeclipse下建了个struts项目,修改ApplicationResources.properties文件时,输入中文,就不能保存.提示信息如下 :
"Some characters cannot be mapped using 'ISO-8859-1' character encoding. Either changethe encoding or remove the characters which are not supported by the 'ISO-8859-1' character encoding."
我已经将preferences 下的 myeclipse --> editors --> jsp 的encoding改为UTF-8,还是报这个错,请达人赐教,不胜感激!
"Some characters cannot be mapped using 'ISO-8859-1' character encoding. Either changethe encoding or remove the characters which are not supported by the 'ISO-8859-1' character encoding."
我已经将preferences 下的 myeclipse --> editors --> jsp 的encoding改为UTF-8,还是报这个错,请达人赐教,不胜感激!
问题补充:
myeclipse 是6.0版本.
最佳答案
在使用MyEclipse创建Struts项目时,修改ApplicationResources.properties文件输入中文无法保存的问题。通过修改ContentTypes设置GBK编码后,还需要使用native2ascii进行转换才能避免乱码。
8105

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



