how i morally store collect internationalized strings properties files?
i'm experimenting internationalization origination hello universe way uses properties files + resourcebundle opposite strings.
specifically, i have record "messages_en_us.properties" stores "hello.world=hello world!", works glorious course.
i following have record "messages_ja_jp.properties" i've attempted sorts things with, nonetheless always appears form stammering twine printed console swing. problem apparently reading calm java string, java twine japanese typed directly source imitation fine.
things i've tried:
- the .properties record utf-8 encoding japanese twine as-is value. something i review indicates java expects properties record internal encoding system...? didn't work presumably way.
- the record default encoding (iso-8859-1) value stored transient unicode combined native2ascii way enclosed java. attempted source record several japanese encodings... shift-jis, euc-jp, iso-2022-jp.
edit:
i indeed figured out while i typing this, nonetheless i figured i'd post anyway answer box helps anyone.
Comments
Post a Comment