首页 > 移动平台 > 详细

some characters cannot be mapped using iso-8859-1 character encoding

时间:2018-05-11 11:27:10      阅读:191      评论:0      收藏:0      [点我收藏+]

Eclipse中新建一个.properties文件,如果输入中文保存时就会提示错误

Reason:
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.

解决办法:
菜单->Window->Preferences->General->Content Types->Text->Java Properties File设置Default encoding,把ISO-8859-1改为UTF-8  然后update.

some characters cannot be mapped using iso-8859-1 character encoding

原文:https://www.cnblogs.com/cn-chy-com/p/9023380.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!