Text encoding issues in Props.LastAuthor property #822
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#822
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?
const bstr: string = e.target.result;
const wb = XLSX.read (bstr, {type: 'binary'});
There is a problem that the LastAuthor of the Props property of the workbook data read by the above command does not parse properly.
I checked the source a bit and found that in this case, data.asBinary () is used in xlsx's getdatastr function, so it can not be decoded in UTF-8. If you take data.asText () from here, it seems that you can get the XML document that is normally UTF-8 decoded successfully.
I think we need to fix this issue.
Good catch! The change should be
We'll roll that out tomorrow with a test
thanks! :)
We added the changes in 0.11.5 along with some fun test files with author
☃
-- please update and check if that worksThank you! Now I can see a cute snowman :)