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

愿君学长松,慎勿作桃李。这篇文章主要讲述some characters cannot be mapped using iso-8859-1 character encoding相关的知识,希望能为你提供帮助。
Eclipse中新建一个.properties文件,如果输入中文保存时就会提示错误【some characters cannot be mapped using iso-8859-1 character encoding】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.







    推荐阅读