java中国际化properties的Unicode编码文件用命令转化为中文文件

来源:互联网 发布:java高并发问题 编辑:程序博客网 时间:2024/05/22 12:54


假设Unicode文件在电脑D盘下面的message_zh_CN.properties,那么在cmd里运行如下命令,即可生成中文文件a.properties

D:\>native2ascii -reverse -encoding utf-8 messages_zh_CN.properties a.properties

0 0