Uncaught InterfaceHdr codePage 1252 #209
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#209
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
I get this weird error when testing with a specific xls file.
I would guess this is a pretty standard code page no?
However, I don't understand why this check is present? Am I missing something? Should I do a conversion first?
In general, if there's any confusion, look in the general area of the related code block for a guide comment. In this case, there's a comment just above that code block:
Every bare reference points to some spec in the References section of the README. The default for XLS-related references is "[MS-XLS]: Excel Binary File Format (.xls) Structure Specification".
The comment references section 2.4.146 of [MS-XLS], which strongly suggests that only code page 1200 (UTF16LE) is permitted:
Interestingly enough, the record definition in [XLS] differs:
Can you possibly share a file that triggers the error? It's weird because the spec suggests it should only happen in Excel 97+ (BIFF8):
The weird thing is, as soon as I open the file and save it again I see the file size going in half. (It's a file I got from a friend an contains some sensitive data, can mail it?)
@Batistleman it's possible your friend used a tool that wasn't excel. Many third-party writers have strange quirks.
Shoot me an email at dev at sheetjs.com (this is the email address used for git commits)
I cannot find a file in the wild to reproduce this issue, nevertheless we will remove the error message and just ignore the field entirely.
I am having the same problem in reading a file, do you have any solution for this case?
@leonardodelfino can you share a file? The only sort of files we could "find" are ones that we manually created by hex-editing good files, so it would be of interest to see a file
I am sharing the file with problem, I had to delete some lines because this file has confidential information of a client of mine. However I did some tests and even after editing the file still fails to read.
Sheet example.xls.zip
Thanks for you support!
@leonardodelfino can you check against http://oss.sheetjs.com/js-xlsx/ (just drag and drop the file there) -- you might be using a older version