MyEclipsse的字符问题

来源:互联网 发布:软件架构师书籍 编辑:程序博客网 时间:2024/06/06 08:52
http://blog.csdn.net/linwei_hello/article/details/44117905

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.


解决办法:
方案一: 菜单->Window->Preferences->General->Content Types->Text->Java Properties File设置Default encoding,把ISO-8859-1改为UTF-8  然后update.
 如果是jsp文件或者其他文件不能保存,也可以使用相同的方法,在Text里选择相应类型的文件,将下面的Default encoding,从ISO-8859-1改为UTF-8即可。
原创粉丝点击