Closed
Description
Consider following example of csv
|field1|,|field2|
|val11|,|val12|
|val21|,|val"22"|
I have setup | character as quote character as following
CsvConfiguration config = new CsvConfiguration(CultureInfo.InvariantCulture);
config.Quote = '|';
I get BadDataFound for second row i.e. |val21|,|val"22"|
The " character in this case should have been ignored.
If I include the following code,
config.IgnoreQuotes = true;
then the values includes | characters even though config.Quote = '|';