Commit 5a174ab9 authored by God Ly's avatar God Ly Committed by it2000

OF-357 FileReader uses now UTF-8 instead of locale/JVM encoding

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11674 b35dd754-fafc-0310-a699-88a17e54d16e
parent f10974c5
...@@ -101,7 +101,7 @@ public class XMLProperties { ...@@ -101,7 +101,7 @@ public class XMLProperties {
* @throws IOException if an exception occurs when reading the stream. * @throws IOException if an exception occurs when reading the stream.
*/ */
public XMLProperties(InputStream in) throws IOException { public XMLProperties(InputStream in) throws IOException {
Reader reader = new BufferedReader(new InputStreamReader(in)); Reader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
buildDoc(reader); buildDoc(reader);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment