`
oyzzhou
  • 浏览: 24984 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类

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

    博客分类:
  • Java
 
阅读更多

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  
,有用

相关推荐

Global site tag (gtag.js) - Google Analytics