Propertiesに日本語を使う

以下のような感じでPropertiesを拡張すれば、日本語が使えるはず。かも。


public class ExtendedProperties extends Properties {

public synchronized void load(InputStream inStream) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(inStream, "UTF-8"));
...

何の疑問もなくnative2asciiしてたけど、日本語のほうが管理が楽だから、今度、試してみよう…