TSV with empty first cell recognized wrong #1421
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#1421
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When trying to parse a tab-separated-value sheet, where the first cell is empty - that means that the first byte is a '\t' character - the parser jumps into the wrong file format here
1eb1ec985a/xlsx.js (L20310)
Hello,
got the same issue.
Is there any workaround?
Thanks for reporting!
This particular decision is based on older file formats. "BIFF2" / "BIFF3" / "BIFF4" (the "XLS" formats used in Excel prior to Excel '95) actually start with a tab character
0x09
. The next character for the BIFF formats is0x04
(corresponding to the BOF record).Would it suffice to use plaintext parsing if the next character is not
0x04
?any update?
This is an easy PR:
https://github.com/SheetJS/js-xlsx/blob/master/bits/87_read.js#L85