使用native2ascii进行本地码-至-ASCII 码互相转换

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

你可能感兴趣的:(java)