Closed oxinabox closed 6 years ago
I will note CSV.jl also fails on this. (idk if it is for the same reason).
The error message from TextParse.jl is way better :+1:
Ah it works fine if one sets: the kwarg escapechar='"'
.
I am thinking that maybe that should be turned on by default, to be inline with RFC 4180
Apparently it is a thing in CSV to escape double quotes within quoted strings, by repeating them. I encounted this in: https://github.com/fivethirtyeight/data/blob/master/avengers/avengers.csv
This is inline with RFC 4180
Here is a simple breaking example:
Outputs: