Skip to content

Conversation

@nahi
Copy link
Member

@nahi nahi commented Mar 19, 2015

So far CSVRecordReader detects '' before quoteChar (usually ") and do
unexpected string truncation.

  • ["] -> keep parsing the rest

This commit removes this weird behavior and no longer does this string
truncation.

  • ["] -> add \ and " then moves to next cell

This commit also removes special '' handling for '"'. This
conditional branch is unnecessary because it does the same thing with
'else' branch.

So far CSVRecordReader detects '\' before quoteChar (usually ") and do
unexpected string truncation.

- [\"] -> keep parsing the rest

This commit removes this weird behavior and no longer does this string
truncation.

- [\"] -> add \ and " then moves to next cell

This commit also removes special '\' handling for '\\"'. This
conditional branch is unnecessary because it does the same thing with
'else' branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants