myeclipse 中js文件乱码不能保存

来源:岁月联盟 编辑:exp 时间:2012-10-15

异常提示:

:Save could not be completed.Reason:Some characters cannot be mapped using "gbd" characters encoding.Either change the encoding or remove the characters which are not supported by the "gdb" characters encoding.

 

 

解决办法一:

异常提示就是说的你的js文件编码设置不能保存中文,设置一下就好了,window-->preferences-->General-->content type-->右侧text下找*.js文件,如果没有就点add增加一个js文件类型,然后在下面default encoding写上中文编码(具体看你其他文件用的什么,中文常用 GBK,GB2312,UTF-8) 然后Update-->ok