1. 程式人生 > >some characters cannot be mapped using iso-8859-1 character encoding

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

not supported 輸入中文 如果 HA char types rem eclips

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