mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
Console: Fix encoding issues in persisted news
This commit is contained in:
@@ -74,7 +74,7 @@ class PersistNews {
|
||||
rv = true;
|
||||
Writer out = null;
|
||||
try {
|
||||
out = new OutputStreamWriter(new GZIPOutputStream(new SecureFileOutputStream(file)));
|
||||
out = new OutputStreamWriter(new GZIPOutputStream(new SecureFileOutputStream(file)), "UTF-8");
|
||||
out.write(XML_START);
|
||||
XMLParser.toString(buf, entry);
|
||||
out.write(buf.toString());
|
||||
|
||||
Reference in New Issue
Block a user