This repository was archived by the owner on Jan 22, 2019. It is now read-only.
This repository was archived by the owner on Jan 22, 2019. It is now read-only.
Doesn't handle whitespace outside of quotes values correctly #19
Open
Description
When parsing a CSV file like:
"foo", "bar", "baz"
"baz", "foo", "bar"
the CSV parser will get confused and give me back exactly two values:
foo
and
bar, baz
baz, foo, bar
(note the leading space here).
According to RFC 4180, these spaces should be considered to be part of the value, e.g. it should return 'foo'
, ' bar'
,' baz'
, and 'baz'
, ' foo'
, ' bar'
.
Alternatively - maybe via a feature - it could trim the whitespace outside of quoted strings, e.g. 'foo'
, 'bar'
,'baz'
, and 'baz'
, 'foo'
, 'bar'
.
Metadata
Metadata
Assignees
Labels
No labels