Change-Id: I07aca821010daca75a66506b9ca738bc8c262abb Signed-off-by: Markus Keller <markus_keller@ch.ibm.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>tags/v2.2.0.201212191850-r
@@ -192,7 +192,7 @@ public class FileBasedConfig extends StoredConfig { | |||
bos.write(0xEF); | |||
bos.write(0xBB); | |||
bos.write(0xBF); | |||
bos.write(text.getBytes(RawParseUtils.UTF8_CHARSET)); | |||
bos.write(text.getBytes(RawParseUtils.UTF8_CHARSET.name())); | |||
out = bos.toByteArray(); | |||
} else { | |||
out = Constants.encode(text); |