今天在MyEclipse里写一个properties的文件时,里面要输入中文,居然出现发如下提示错误:
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 /MyEclipse--> window --> Preferences --> General --> Content Types --> Test --> 单击 Java Properties File,在底部出现 'Default edcodng:',改成utf-8或GBK,然后update.一定要update一下,然后就可以保存有中文文字的properties文件了。