diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-09-20 14:13:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-09-20 14:13:49 +0200 |
commit | 89e5ef948564d4bcea02c845d6f959dddd99129c (patch) | |
tree | e3111a3f0da2b7922a6a684eab9e863b4ff2d9b9 /unoxml/qa/complex | |
parent | f1b2c5185762debdd4ccbdb369472f5d30950e75 (diff) |
java.lang.String.getBytes() has platform-dependent semantics
Change-Id: Ia36e73215f666a26e5898310aabefb68d3f695c2
Diffstat (limited to 'unoxml/qa/complex')
-rw-r--r-- | unoxml/qa/complex/unoxml/DOMTest.java | 4 |
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); |