To avoid problems on strange platforms, tell xmlbeans to use UTF-8 for strings by default, for bug #56683
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1613193 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50af15f97f
commit
9fcdec5719
@ -60,6 +60,7 @@ public class POIXMLDocumentPart {
|
|||||||
DEFAULT_XML_OPTIONS.setSaveOuter();
|
DEFAULT_XML_OPTIONS.setSaveOuter();
|
||||||
DEFAULT_XML_OPTIONS.setUseDefaultNamespace();
|
DEFAULT_XML_OPTIONS.setUseDefaultNamespace();
|
||||||
DEFAULT_XML_OPTIONS.setSaveAggressiveNamespaces();
|
DEFAULT_XML_OPTIONS.setSaveAggressiveNamespaces();
|
||||||
|
DEFAULT_XML_OPTIONS.setCharacterEncoding("UTF-8");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user