Commit 93d8fd68 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Use UTF-8 as the encoding (JM-139).


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@911 b35dd754-fafc-0310-a699-88a17e54d16e
parent dad17ab7
...@@ -24,10 +24,7 @@ import org.dom4j.io.XMLWriter; ...@@ -24,10 +24,7 @@ import org.dom4j.io.XMLWriter;
import org.dom4j.Element; import org.dom4j.Element;
import org.dom4j.DocumentFactory; import org.dom4j.DocumentFactory;
import java.io.File; import java.io.*;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.Date; import java.util.Date;
import java.util.Queue; import java.util.Queue;
import java.util.Timer; import java.util.Timer;
...@@ -170,7 +167,7 @@ public class AuditorImpl implements Auditor { ...@@ -170,7 +167,7 @@ public class AuditorImpl implements Auditor {
} }
} }
writer = new FileWriter(currentAuditFile); writer = new OutputStreamWriter(new FileOutputStream(currentAuditFile), "UTF-8");
writer.write("<jive xmlns=\"http://www.jivesoftware.org\">"); writer.write("<jive xmlns=\"http://www.jivesoftware.org\">");
xmlWriter = new XMLWriter(writer); xmlWriter = new XMLWriter(writer);
} }
......
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