Getting Error: unrecognized </charset> in fonts #3143

Closed
opened 2024-07-04 11:28:02 +00:00 by dearzubi · 0 comments

Hi,

I am trying to read a .xlsx file but getting this error (setting the WTF flag to true).

"Error: unrecognized </charset> in fonts".

Even https://oss.sheetjs.com/ throws the same error in the browser's console. However, the file opens fine in Excel, Google Sheets, LibreOffice Calc etc.

If I save the file from the above softwares and then try rereading it, it works fine.

I am guessing it has something to do with styles.xml but I don't know what to do to ignore the default styles that are messing with sheetjs.

Hi, I am trying to read a .xlsx file but getting this error (setting the WTF flag to true). `"Error: unrecognized </charset> in fonts".` Even https://oss.sheetjs.com/ throws the same error in the browser's console. However, the file opens fine in Excel, Google Sheets, LibreOffice Calc etc. If I save the file from the above softwares and then try rereading it, it works fine. I am guessing it has something to do with styles.xml but I don't know what to do to ignore the default styles that are messing with sheetjs.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#3143
No description provided.