08-01
15
MyEclipse中新建一个MessageBundle.properties文件,如果输入中文保存时就会提示错误
作者:Java伴侣 日期:2008-01-15
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.
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就可以了!
打开Eclipse的Preferences,选择General->Content Types,然后修改右面的Text下的Java Properites File的默认编码方式为UTF-8,点击Update就可以了!
评论: 1 | 引用: 0 | 查看次数: 982
回复网友[2008-05-19 01:04 AM | ]
Thanks!!
发表评论