poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1613193 - /poi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java
Date Thu, 24 Jul 2014 17:14:00 GMT
Author: nick
Date: Thu Jul 24 17:14:00 2014
New Revision: 1613193

URL: http://svn.apache.org/r1613193
Log:
To avoid problems on strange platforms, tell xmlbeans to use UTF-8 for strings by default,
for bug #56683

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java?rev=1613193&r1=1613192&r2=1613193&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/POIXMLDocumentPart.java Thu Jul 24 17:14:00 2014
@@ -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");
     }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message