https://issues.apache.org/bugzilla/show_bug.cgi?id=55594

Constantin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Constantin <[email protected]> ---
Hi all,

we found a way to fix this problem:

We changed method 
Writer createWriter(File fd)
in org.apache.poi.xssf.streaming.GZIPSheetDataWriter and
org.apache.poi.xssf.streaming.SheetDataWriter.

Following changes have been done:
GZIPSheetDataWriter.createWriter(File fd) ... {
   return new BufferedWriter(new OutputStreamWriter(new GZIPOutputStream(new
FileOutputStream(fd)), "UTF-8"));
}
SheetDataWriter.createWriter(File fd) ... {
   return new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fd),
"UTF-8"));
}

We force writing data with UTF-8 encoding, because the whole workbook will be
written in UTF-8 as well.

Best regards
Constantin

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to