Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Escaping in csv #1

Closed
Kedrigern opened this Issue Jul 21, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Owner

Kedrigern commented Jul 21, 2014

There is some issue in escaping csv column. If you have column:
...,"_\"_",...
I assume that right parse is:
_"_

I wrote test test/load/csv2.phpt, and fail (parse even backslash):

-- FAILED: csv escaped sequence | test/load/csv2.phpt
   Failed: 'abc\"cba' should be 
       ... 'abc"cba'

   in test/load/csv2.phpt(13) Tester\Assert::same()

@Kedrigern Kedrigern self-assigned this Jul 21, 2014

Owner

Kedrigern commented Aug 11, 2014

Fix by 3a481b7

@Kedrigern Kedrigern closed this Aug 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment