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

出了一个编码有关问题

2012-12-25 
出了一个编码问题Somecharacterscannotbemappedusing ISO-8859-1 characterencoding.Eitherchangetheenc

出了一个编码问题
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.


原来是编码,我按网上的

解决方法

eclipse --> window --> Preferences --> General --> Content Types --> Text --> 单击 Java Properties File  在底部出现 ;Default edcodng:',改成utf-8或GBK,然后update

还是不行,就照以前的方法把项目的编码改变,解决了

项目右键-属性-Resource-text file encoding下的other 选择改为utf-8就好了

热点排行