summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoxml/qa/complex/unoxml/DOMTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/qa/complex/unoxml/DOMTest.java b/unoxml/qa/complex/unoxml/DOMTest.java
index 9191781e013f..8cd93da72d43 100644
--- a/unoxml/qa/complex/unoxml/DOMTest.java
+++ b/unoxml/qa/complex/unoxml/DOMTest.java
@@ -2706,7 +2706,7 @@ public class DOMTest
"<xlink:test/>" +
"<office:automatic-styles teststyle=\"test\"/>" +
"<moretest/>" +
- "some text \303\266\303\244\303\274" +
+ "some text \uC3B6\uC3A4\uC3BC" +
"</office:document-content>";
XDocumentBuilder xBuilder =
@@ -2714,7 +2714,7 @@ public class DOMTest
m_xMSF.createInstance("com.sun.star.xml.dom.DocumentBuilder"));
XInputStream xIn =
- SequenceInputStream.createStreamFromSequence(m_xContext, file.getBytes());
+ SequenceInputStream.createStreamFromSequence(m_xContext, file.getBytes("UTF-8"));
XDocument xDoc =
xBuilder.parse(xIn);