Skip to content

Conversation

ycintre
Copy link

@ycintre ycintre commented Mar 16, 2016

Escape the field with double quotes if it contains a double quote in the value.

This is specified in the RFC as follows:

6 . Fields containing line breaks (CRLF), double quotes, and commas
should be enclosed in double-quotes.

@ycintre
Copy link
Author

ycintre commented Mar 16, 2016

I also added a fix to the escape mechanism to use the user-specified field delimiter instead of hard-coded comma

@ycintre ycintre changed the title fix escaping if quote is present in field fix escaping fields Mar 16, 2016
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.

1 participant