首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

SOME CHARACTER CAN NOT MAPPED USING "ISO-8859-1" CHARACTER ENCODINGECL

2012-12-21 
SOME CHARACTER CAN NOT MAPPED USING ISO-8859-1 CHARACTER ENCODINGECLIPSE中编码错误Eclipse里写一个

SOME CHARACTER CAN NOT MAPPED USING "ISO-8859-1" CHARACTER ENCODINGECLIPSE中编码错误

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.

,有用

热点排行