您的位置:首页 > 编程语言 > Java开发

在MyEclipse中,jsp文件输入中文,文件不能保存

2010-11-27 20:25 381 查看
问题描述: eclipse中编辑jsp页面时,输入中文,不能保存.提示信息如下 :

"Some characters cannot be mapped using 'ISO-8859-1' character encoding. Either changethe encoding or remove the characters which are not supported by the 'ISO-8859-1' character encoding."

解决方法: eclipse --> window(窗口) --> General(首选项) --> Content Types(内容内型) --> Text (文本)-〉jsp 把 'Default encoding:'改成GBK,然后update.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: