some characters cannot be mapped using iso-8859-1 character encoding

Posted KeepUp~

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了some characters cannot be mapped using iso-8859-1 character encoding相关的知识,希望对你有一定的参考价值。

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

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.







以上是关于some characters cannot be mapped using iso-8859-1 character encoding的主要内容,如果未能解决你的问题,请参考以下文章

*eclipse 中添加工程 Some projects cannot be imported because they already exist in the workspace

Eclipse Some projects cannot be imported because they already exist in the workspace

eclipase项目导入错误Some projects cannot be imported because they already exist in the workspace

解决方案ValueError: Some of types cannot be determined by the first 100 rows

解决方案ValueError: Some of types cannot be determined by the first 100 rows

The file contains a character that cannot be represented in the current code page