JoshClose / CsvHelper

Library to help reading and writing CSV files
http://joshclose.github.io/CsvHelper/
Other
4.77k stars 1.07k forks source link

Fallback policy is not documented when an input csv file is invalid. #597

Closed osamu329 closed 7 years ago

osamu329 commented 8 years ago

CsvParser accept invalid escaped field like "foo"bar", and return foobar"

I've checked #308 and this behavior is excel compatible. However if fallback policy is described in FAQ, it will be helpfull for us.

When CSV file is not compatible with RFC4180, CsvParser and CsvReader try to treat
the file exactly as MS Excel does.

It make someone be happy that configuration for RFC-strict mode is introduced.

JoshClose commented 7 years ago

http://joshclose.github.io/CsvHelper/reading#malformed-field-fallback