native2ascii简单应用

native2ascii是JDK自带的一个字符编码转码工具

将中文等编码数据转码为unicode编码数据

>native2ascii -encoding GBK d:\test.properties d:\test.unicode.properties

将unicode编码数据反转码为原编码数据

>native2ascii -reverse d:\test.unicode.properties d:\test.zh_CN.properties
posted @ 2012-11-11 09:07  valuenovel  阅读(246)  评论(0编辑  收藏  举报