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

cannot be mapped using "ISO-8859-1" character encoding

2016-10-31 14:36 253 查看
今天在修改JSP页面时,修改了部分要显示的字符为中文,然后保存提示问题如下:"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. "

提示框中有三个选项,选择保存为UTF-8。

为防止下次同样提示出现,可用如下办法解决: 

Window->Preferences->General->Content Types->Text->Jsp中设置Default encoding,把ISO-8859-1改为UTF-8,然后Update->OK。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐