SheetJS / js-codepage

:currency_exchange: Codepages for JS
http://sheetjs.com
Apache License 2.0
151 stars 39 forks source link

Encoding problem with Japanese #21

Closed nikoalala closed 4 years ago

nikoalala commented 11 years ago

Hi,

Here is the result when I try to import this xls file (with japanese caracter) :

js-xls

I have the same result when I try it in my application.

Is there a way to have an UTF-8 encoding ?

redchair123 commented 11 years ago

Hello @nikoalala

Ironically, I was working on this exact problem yesterday. Basically, XLS stores those strings using codepages. I should have a full solution later today, and will integrate it into XLS and XLSX parsers by tomorrow.

redchair123 commented 11 years ago

@nikoalala

Quick update: https://github.com/Niggler/js-codepage implements the codepages. Now for integration!

nikoalala commented 11 years ago

It now works! Thank you!