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.

wrong CSV separators, starting from HTML table that has commas inside cells

See original GitHub issue

Hi, if I run tabulator input.html using the below html table, I have

RNDFNC60E16,RIPACANDIDA,85020,POTENZA,250,00
RNDFNC60E16,,,POTENZA,250,00

and not

RNDFNC60E16,RIPACANDIDA,85020,POTENZA,"250,00"
RNDFNC60E16,,,POTENZA,"250,00"

Thank you

<!DOCTYPE html>
<html>
<body>
<table id="results" border="0" class="regpub_dati c35">
		<tbody>
			<tr class="c28">
				<th class="c27">Beneficiario</th>
				<th class="c27">Comune</th>
				<th class="c27">CAP</th>
				<th class="c27">Provincia </th>
				<th class="c27">Importo</th>
			</tr>
			
			<tr>
				<td class="c31">RNDFNC60E16</td>
				<td class="c31">RIPACANDIDA</td>
				<td class="c31">85020</td>
				<td class="c31">POTENZA</td>
				<td class="c34">250,00</td>
			</tr>
			
			<tr>
				<td class="c31">RNDFNC60E16</td>
				<td class="c31"></td>
				<td class="c31"></td>
				<td class="c31">POTENZA</td>
				<td class="c34">250,00</td>
			</tr>
		</tbody>
		</table>
		</body>
</html>

Please preserve this line to notify @roll (lead of this repository)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rollcommented, May 25, 2020

It’s not supported yet.

Would you like to create a feature request?

0reactions
rollcommented, May 25, 2020

It’s kind mixed - it uses bold for headers and just a simple comma-delimited output for rows

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing with commas in a CSV file - Stack Overflow
To use the commas in the values in a csv, the value needs to be wrapped in double quotes. And in order to...
Read more >
Why is a comma a bad record separator/delimiter in CSV files?
Nearly any delimiter is better than a comma. The reason is that, when comma-delimited files are being read in to some data parsing...
Read more >
Copying CSV files delimited by commas where commas are ...
The problem we're faced with is that commas within a given column, enclosed in double quotes, are being perceived as a column delimiter,...
Read more >
How to change Excel CSV delimiter to comma or semicolon
Change default CSV separator globally · On Windows, go to Control Panel > Region settings. · In the Region panel, under Related settings,...
Read more >
Polybase - Load CSV file that contains text column with ...
Because of rows like in bold above , I'm unable to load the data. When there is a comma in the column value...
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