Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Unknown codepage: 21010 #396

Closed
CasperLaiTW opened this issue Jul 4, 2014 · 5 comments
Closed

Unknown codepage: 21010 #396

CasperLaiTW opened this issue Jul 4, 2014 · 5 comments
Milestone

Comments

@CasperLaiTW
Copy link

I open excel file and throw Unknown codepage: 21010 error.
The file download from windows 7 and copy to the osx to open.
How can I resolve this error.

[2014-07-03 18:16:00] casper.ERROR: exception 'PHPExcel_Exception' with message 'Unknown codepage: 21010' in /Users/casperlai/Develop/web/ibuyt/ibuyt/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/CodePage.php:99
@MarkBaker
Copy link
Member

Unless you can tell me what codepage 21010 actually is, then I'll just point you to https://phpexcel.codeplex.com/discussions/402767

@CasperLaiTW
Copy link
Author

Thank you, @MarkBaker
But I have no idea about codepage 21010, I export the excel from other system.

@BobBarkre
Copy link

It looks like something is being re-parsed: 21010 = 0x5212, which kinda looks like the windows 1252.

@CasperLaiTW can you share the file?

@CasperLaiTW
Copy link
Author

@BobBarkre hope to helpful.

passbookInq.xls

@BobBarkre
Copy link

@CasperLaiTW took a look at the file -- excel appears to treat this as UTF16LE (code page 1200)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants