Skip to content

CSV

CSV is a common data exchange format that stores tabular data in a plain text file. A CSV file stores the data in a delimited text file that uses commas to separate the values.

Here are 3,318 public repositories matching this topic...

js-xlsx
KurtMar
KurtMar commented Sep 12, 2019

I noticed a bug in the html_to_sheet function. When reading cells that are empty, the cell index is correctly incremented, but if the cell has HTML tags and is observed to be empty after stripping the tags, the cell index is not incremented. This results in misalignment of the subsequent cells:

https://github.com/SheetJS/js-xlsx/blob/e3c5eac99c3b2be6929adfca455c1be87fab792b/xlsx.js#L18956-L18

macrozone
macrozone commented Oct 17, 2016

Hi papas,

CSV has no concept of null. You can't distinguish between empty strings and null.
(good read: http://www.garretwilson.com/blog/2009/04/23/csvnull.xhtml)

Nevertheless, there are cases where you need to support both cases, so a solution might be to encode it as a special String like "NULL" or so (if its unlikely that this string will ever occure as a string in your app).

If you feed dat

Learn about csv

Wikipedia
Wikipedia
Loading…
You can’t perform that action at this time.