Skip to content
Snippets Groups Projects
Commit 73dde3e7 authored by srosse's avatar srosse
Browse files

no-jira: backport from selectus, fix encoding of the stream

parent 7eaa3cee
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ public class OpenXMLUtils { ...@@ -132,7 +132,7 @@ public class OpenXMLUtils {
public static final XMLStreamWriter createStreamWriter(ZipOutputStream out) { public static final XMLStreamWriter createStreamWriter(ZipOutputStream out) {
try { try {
return XMLOutputFactory.newInstance().createXMLStreamWriter(new ShieldOutputStream(out)); return XMLOutputFactory.newInstance().createXMLStreamWriter(new ShieldOutputStream(out), "UTF-8");
} catch (XMLStreamException | FactoryConfigurationError e) { } catch (XMLStreamException | FactoryConfigurationError e) {
log.error("", e); log.error("", e);
return null; return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment