Closed cgendreau closed 7 years ago
I am not sure I follow the question: quote char is by default escaped by doubling it up. So shouldn't it work the way you want already?
Indeed, it works already.
I started from .withEscapeChar('\')
to handle things like "1","{\"key\":\"value\"}"
where the json escape char was included in the csv. I was confused about what to use in withEscapeChar
after the file was fixed to have "1","{""key"":""value""}"
.
My bad
Ok. Just glad it works for you!
I would like to escape the QuoteChar when it is doubled.
1, " the next word is ""quoted"""
The following snippet seems to give the expected result:
But, the csv-compatibility section states :