您的位置:首页 > 移动开发

Some characters cannot be mapped using "GBK" character encoding

2011-11-20 22:14 405 查看

http://oofoof.blog.163.com/blog/static/19292403720118332650713/





Some characters cannot be mapped using "GBK" character encoding

2011-09-03 15:26:50| 分类:

Java |字号 订阅

eclipse中保存*.java文件时,提示如下的错误:

Some characters cannot be mapped using "GBK" character encoding.

Either change the encoding or remove the characters which are not supported

by the "GBK" character encoding

解决方法:

Eclipse --> window --> Preferences --> General --> Content Types --> Text --> Java Properties File下每个文件,包括子目录里面 Default encoding的值是否为utf-8,如果为别的值或为空,则全部改为utf-8,每一项改完,别忘了点一下update。

一切OK。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐