Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV files are not being escaped properly. #3850

Closed
workergnome opened this issue Feb 18, 2015 · 5 comments
Closed

CSV files are not being escaped properly. #3850

workergnome opened this issue Feb 18, 2015 · 5 comments
Labels
Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. Type: Enhancement

Comments

@workergnome
Copy link

CSV files that contain quoted strings are not being escaped—this means that quotation marks, line feeds, etc. within a cell don't work properly. RFC 4180 is the (semi-official) standard for CSV files, and describes escaping.

See:
http://jsfiddle.net/wfcbhe7g/

@samwisehawkins
Copy link

I also have the same issue

@TorsteinHonsi
Copy link
Collaborator

The built-in CSV parser has its limitations. Here's how you can use an external parser like Papa Parse: http://jsfiddle.net/highcharts/u59176h4/

@samwisehawkins
Copy link

Thanks.

@TorsteinHonsi
Copy link
Collaborator

This is now working in the csv-rewrite branch: http://jsfiddle.net/highcharts/wfcbhe7g/4/

This branch basically adds more sophisticated CSV parsing to the data module, and will be merged into the master in Q2 2017.

@stale
Copy link

stale bot commented Sep 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

@stale stale bot added the Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. label Sep 24, 2019
@stale stale bot closed this as completed Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale This issue hasn't had any activity for a while, and will be auto-closed if no further updates occur. Type: Enhancement
Projects
None yet
Development

No branches or pull requests

3 participants