读书人

出了一个编码有关问题

发布时间: 2012-12-25 16:18:29 作者: rapoo

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

读书人网 >编程

热点推荐