日期:2014-05-18  浏览次数:20630 次

MyEclipse5.5.1GA 安装不了properties Editor
各位:我在编辑国际化资源文件的时候,同学告诉我需要安装一个Properties Editor插件,我的myeclipse是5.5.1GA版本的,JDK1.5,我找到地址了并且正确安装了,但是编译后的class文件夹下显示的不是unicode码的文件。是怎么回事啊?

------解决方案--------------------
装的是什么软件,可以直接用java的native2ascii进行转化的,如
在命令行模式下用
Usage: native2ascii [-reverse] [-encoding encoding] [inputfile [outputfile]]
选项[-reverse]为反向转换

如下
native2ascii -encoding GBK -reverse resources_zh_CN.properties resources_zh_CN.properties.source 
native2ascii -encoding GBK resources_zh_CN.properties.source resources_zh_CN.properties 
native2ascii -encoding UTF-8 -reverse resources_zh_CN.properties resources_zh_CN.properties.source 
native2ascii -encoding UTF-8 resources_zh_CN.properties.source resources_zh_CN.properties