JavaのpropertiesのUTF8、Native変換
いつも忘れてしまう。
符号化されているpropertiesファイルをもらったら、こちらで人が読めるように変換。
native2ascii -reverse MessagesBundle_ja.properties MessagesBundle_ja_native.properties
日本語の修正が終わったら、符号化する。
native2ascii MessagesBundle_ja_native.properties MessagesBundle_ja.properties
Oracleの公式マニュアルはこちら。
http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/native2ascii.html