I get different results on two different systems and don't know why.
Properties prop = new Properties();
prop.load(new ByteArrayInputStream(input)); //input is byte[]
On both systems input contains "var=\\u00C4\\u00DC\\u00D6\\u00E4\\u00FC\\u00F6"
.
On my test system prop contains "var=ÄÜÖäüö"
. (This is what I want)
On another system prop contains "var=\xC4\xDC\xD6\xE4\xFC\xF6"
. This is input
in hex, but why does Properties
do this? I unfortunately know nothing about the other systems configuration.
Has someone an idea about the reason?