MyEclipse中:Some characters cannot be mapped using 'ISO-8859-1' character encoding
来源:互联网 发布:贵阳网络诈骗报警电话 编辑:程序博客网 时间:2024/05/16 02:08
MyEclipse中新建一个.properties文件,如果输入中文保存时 就会提示错误:
Save could not be completed. 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.
几种解决方法
- eclipse --> window --> Preferences --> General --> Content Types --> Text--> 单击 Java Properties File,在底部出现 'Default edcodng:',改成utf-8或GBK,然后update. 虽然能保存,但还必须利用 native2ascii 来转换一下,不然输出还是乱码.
- 应该使用eclipse的jinto插件编辑,会自动调用java的native2ascii把文件转码。jinto插件下载:http://www.guh-software.de/jinto.html
附: Eclipse下安装Properties Editor
在eclipse下"帮助"---"软件更新"--"查找并安装"--"搜索要安装的新功能部件" ---"下一步"---"新建远程站点"---
填写"名称":Properties Editor;
URL为:http://propedit.sourceforge.jp/eclipse/updates/点完成,
让它自己下载插件..
找到合适的Properties Editor安装,这一个插件是减少转化为utf-8格式,在struts自动转换的.
这样,eclipse插件就可以自己安装一些。
- MyEclipse中:Some characters cannot be mapped using 'ISO-8859-1' character encoding
- MyEclipse中:Some characters cannot be mapped using 'ISO-8859-1' character encoding
- MyEclipse中,some characters cannot be mapped using “ISO-8859-1“ character encoding错误的解决办法
- Myeclipse 保存jsp 错误:Some characters cannot be mapped using 'ISO-8859-1' character encoding
- myEclipse保存jsp文件时报错:some characters cannot be mapped using "ISO-8859-1" character encoding
- 用myeclipse修改文件是出现“some characters cannot be mapped using "iso-8859-1"character encoding
- Some characters cannot be mapped using 'ISO-8859-1' character encoding
- Some characters cannot be mapped using 'ISO-8859-1' character encoding
- Some characters cannot be mapped using "ISO - 8859 -1" character encoding 解决方法
- Some characters cannot be mapped using 'ISO-8859-1' character encoding
- Some characters cannot be mapped using 'ISO-8859-1' character encoding
- Some characters cannot be mapped using 'ISO-8859-1' character encoding
- some characters cannot be mapped using iso-8859-1 character encoding
- 解决问题Some characters cannot be mapped using 'ISO-8859-1' character encoding
- some characters cannot be mapped using iso-8859-1 character encoding
- some characters cannot be mapped using iso-8859-1 character encoding
- Myeclipse - some characters cannot be mapped using "ISO-8859-1" charater encoding
- Save could not be completed. Reason: some characters cannot be mapped using “ISO-8859-1“ character encoding.的解决方案分析
- 孙鑫第七课:对话框,vs2005
- JAVA学习
- 什么是RFC(Request for Comments)[转]
- VC打开方式
- MSP430学习小结3-MSP430基本时钟模块
- MyEclipse中:Some characters cannot be mapped using 'ISO-8859-1' character encoding
- 网卡如何发送和接收数据包
- struts2 -- Dispatcher initialization failed
- Android - 当碰到Unparsed aapt error(s)错误时候
- 焦点图
- 富人存银行的利息比穷人高10倍
- [转]5个可能会让你的企业在通往成功的半途就拐向平庸的错误
- 6.7 中断和中断处理程序_中断控制
- LINUX getopt处理命令行参数