in reply to Re^2: Parsing a .xlsx file with chinese characters
in thread Parsing a .xlsx file with chinese characters
I gave this a test with the exact code you gave on my machine, and it worked great!
$ perl test.pl Sheet: Sheet1 ( 0 , 0 ) => this ( 1 , 1 ) => is ( 2 , 2 ) => a ( 3 , 3 ) => test ( 4 , 1 ) => 什麼 Sheet: Sheet2 Sheet: Sheet3 $
(PM may convert the text (traditional Chinese "shenme" -- what) into an entity here, but it definitely worked in my xterm)
It may be that whatever you're using to view the file isn't expecting UTF-8; or, perhaps the encoding in the XLSX itself isn't UTF-8 (but I'm not sure if that's an option in XLSX files or what!).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Parsing a .xlsx file with chinese characters
by Sithiris (Novice) on Oct 03, 2011 at 21:32 UTC | |
by anneli (Pilgrim) on Oct 05, 2011 at 04:44 UTC | |
by Sithiris (Novice) on Oct 05, 2011 at 21:17 UTC | |
by anneli (Pilgrim) on Oct 05, 2011 at 21:55 UTC | |
by Sithiris (Novice) on Oct 06, 2011 at 20:04 UTC | |
|