Eclipse里写一个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.
1 楼 forrest420 2011-07-21
