]> source.dussan.org Git - poi.git/commitdiff
To avoid problems on strange platforms, tell xmlbeans to use UTF-8 for strings by...
authorNick Burch <nick@apache.org>
Thu, 24 Jul 2014 17:14:00 +0000 (17:14 +0000)
committerNick Burch <nick@apache.org>
Thu, 24 Jul 2014 17:14:00 +0000 (17:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613193 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java

index 7f4ee8ce33753c337e27f08ba8d72fc1de1b4b96..24b4af238984e65c235575b04fe3fdff04d5cb42 100644 (file)
@@ -60,6 +60,7 @@ public class POIXMLDocumentPart {
         DEFAULT_XML_OPTIONS.setSaveOuter();
         DEFAULT_XML_OPTIONS.setUseDefaultNamespace();
         DEFAULT_XML_OPTIONS.setSaveAggressiveNamespaces();
+        DEFAULT_XML_OPTIONS.setCharacterEncoding("UTF-8");
     }