MyEclipse中新建一个MessageBundle.properties文件,如果输入中文保存时就会提示错误:
Save could not be completed.
Reason:
some characters cannot be mapped using "ISO-8859-1" character encoding.
Either change the encoding or remove the characters which are not supported
by the "ISO-8859-1" character encoding.
解决办法:
打开Eclipse的Preferences,选择General->Content Types,然后修改右面的Text下的Java Properites File的默认编码方式为UTF-8,点击Update就可以了!
MyEclipse中文保存时编码错误提示
精选 转载lcf19890000 博主文章分类:管理软件的安装,配置

提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
用nginx做负载时访问时提示{“result”:"host path error"}解决方案
nginx做负载时的配置方法
处理方法 服务器 重启 nginx 负载 -
xercesc库中文保存XML功能实现
xercesc库中文保存XML功能实现
c++ 开发语言 #include #define ios -
myeclipse改变javascript编码格式,myeclipse不能保存js的,js文件编码
window ->perferences->myeclipse->Files and Eidtors ->javaScript黑色头发 http://heisetoufa.iteye.com
Myeclipse JavaScript ViewUI eclipse java -
使用Myeclipse时遇到的几个错误
ava.lang.UnsupportedClassVersionError: com/test/Add : Unsupported major.min 50\高版本编译 ,低版本运行 ,在项目
java 开发工具 maven tomcat apache