myeclipse 中的'ISO-8859-1'编码问题 写JS文件不能保存
在eclipse下建了个struts2项目,修改*.js文件时,输入中文,就不能保存.提示信息如下 :
"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."
"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."
解决方案:
将Window选项卡下面的Preferences …下的 Myeclipse --> Files and editors -->单击Javascript,在
右边出现的出现 'Encodng',改成UTF-8,然后Apply。
