问题描述:在eclipse下建了个struts项目,修改ApplicationResources.properties文件时,输入中文,就不能保存.提示信息如下 :
"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."
解决方案:1增加%@page pageEncoding="GBK"%或者是%@page pageEncoding="UTF-8"%解决方案:2应该使用eclipse的jinto插件编辑,会自动调用java的native2ascii把文件转码。jinto插件下载:http://www.guh-software.de/jinto.html 解决方案:3eclipse --> window --> Preferences --> General --> Content Types
--> Test -->
单击 Java Properties File,在底部出现 'Default edcodng:',改成GBK,或是UTF-8;然后update.
虽然能保存,但还必须利用 native2ascii 来转换一下,不然输出还是乱码.
分享到:
相关推荐
更新发布].myeclipse-10.0-offline-installer-windows.part03 myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows.part03 myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows....
更新发布].myeclipse-10.0-offline-installer-windows.part02 [myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows.part02 [myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows...
Myeclipse-2014-GA-破解文件.rar使用了几个还是这个有用,并且修复了用其他破解软件破解导致的打不来的问题。
myeclipse-10.5-offline-installer-windows.part03
myeclipse-2017-CI-9破解文件 网上购买,放心使用,保证验证
好用的java开发工具,Myeclipse-2014-GA-破解文件
myeclipse-2015-2014-07-11-offline-installer-文档进行即可完成。
myeclipse-8.5.0-win32.zip,安装包
( myeclipse-10.0-offline-installer-windows.part04.rar )
[myeclipse.10.0.更新发布].myeclipse-10.0-offline-installer-windows 迅雷下载地址: http://bigsoft.pc6.com/big/myeclipse.10.rar
myeclipse-2016-CI-7破解文件,参照文档已破解 1.在 Usercode 一栏输入用户名,随意英文。 点击 SystemId,需要点 2 次才能出现 SystemId 号。然后点击 Active,下方输出三行破解码。最后点击导航栏Tools下的...
myeclipse-2017-2.0-online-installer-windows.exe myeclipse-2017-2.0-online-installer-windows.exe myeclipse-2017-2.0-online-installer-windows.exe myeclipse-2017-2.0-online-installer-windows.exe
myeclipse-10.7.1-offline-installer-windows.exe
myeclipse10安装包,可用来编写JSP,html等,我自己的电脑是windows7系统64位,自行安装jar包,tomcat等。tomcat支持5.0-7.0
myeclipse-2017-ci-10-online-installer-windows,安装工具包
myeclipse-pro-2014-GA-offline-installer-windows,window64位的myeclipse安装软件