08-01
15

MyEclipse中新建一个MessageBundle.properties文件,如果输入中文保存时就会提示错误

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就可以了!


文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: 未能保存 中文
相关日志:
评论: 1 | 引用: 0 | 查看次数: 925
回复回复网友[2008-05-19 01:04 AM | del]
Thanks!!
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭