question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Supporting linebreaks inside double quoted csv fields

See original GitHub issue
Key,Text
X,"Hello, mechatroner,
This, incorrectly interpreted as a new row with two columns"

image

According to RFC 4180 the quoted entry spanning a couple lines should be a single cell (i.e. everything after “Hello” in this example should be in blue)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:34
  • Comments:25 (15 by maintainers)

github_iconTop GitHub Comments

12reactions
krazyito65commented, Apr 25, 2018

Jut want to comment I would love to see this implemented in the vs code verison

8reactions
mechatronercommented, Jun 24, 2020

I made a proof of concept in Vim

image

When highlighting gets glitchy this command fixes it:

:syntax sync fromstart
Read more comments on GitHub >

github_iconTop Results From Across the Web

Reading CSV file with double quotes, line breaks and spaces
Solved: I have very large CSV files with 100+ variables that look something like this: There are empty columns, and often, fields with...
Read more >
Parsing a CSV with Line Breaks in the Data Fields
So we had the situations where there would be line breaks that were inside the CSV fields or columns, but not inside double...
Read more >
How to properly escape a double quote in CSV?
You don't need to actually escape single quotes etc. A proper CSV file doesn't even need to add double quotes around a field...
Read more >
Unix file with newlines within quotes
There's no real issue with your file. It has embedded newlines and double quotes. A CSV parser would be able to handle it...
Read more >
ignoring Line breaks within quotes while importing folder
Hello,. i'm pretty new to power bi and I''m trying to import a folder with CSV files in it . The files are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found