mirror of https://github.com/apache/poi.git
set emulateCSV mode in DataFormatter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895315 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a1a169334f
commit
057a85ac1e
|
@ -201,7 +201,8 @@ public class XLSX2CSV {
|
|||
SharedStrings strings,
|
||||
SheetContentsHandler sheetHandler,
|
||||
InputStream sheetInputStream) throws IOException, SAXException {
|
||||
DataFormatter formatter = new DataFormatter();
|
||||
//set emulateCSV=true on DataFormatter - it is also possible to provide a Locale
|
||||
DataFormatter formatter = new DataFormatter(true);
|
||||
InputSource sheetSource = new InputSource(sheetInputStream);
|
||||
try {
|
||||
XMLReader sheetParser = XMLHelper.newXMLReader();
|
||||
|
|
Loading…
Reference in New Issue