Merge pull request #658 from Arcadelia/CSV_Multi-char-separator_support
Support for multi-char-separators in CSV
This commit is contained in:
commit
ab42df6ea3
@ -99,7 +99,7 @@ public class SeparatorBasedImporter extends TabularImportingParserBase {
|
|||||||
boolean strictQuotes = JSONUtilities.getBoolean(options, "strictQuotes", false);
|
boolean strictQuotes = JSONUtilities.getBoolean(options, "strictQuotes", false);
|
||||||
|
|
||||||
final CSVParser parser = new CSVParser(
|
final CSVParser parser = new CSVParser(
|
||||||
sep.toCharArray()[0],//HACK changing string to char - won't work for multi-char separators.
|
sep,
|
||||||
CSVParser.DEFAULT_QUOTE_CHARACTER,
|
CSVParser.DEFAULT_QUOTE_CHARACTER,
|
||||||
(char) 0, // we don't want escape processing
|
(char) 0, // we don't want escape processing
|
||||||
strictQuotes,
|
strictQuotes,
|
||||||
|
Loading…
Reference in New Issue
Block a user