http://www.perlmonks.org?node_id=999181


in reply to Read/Write Chinese Characters

Thank you for your help. I am not sure how to tell how the cell is encoded. The characters display correcting within Excel. The problem acts the same in either xls or xlsx. I am displaying the value of the file correctly. I am using an editor that reads and displays all Chinese files correctly except those written by perl.

Replies are listed 'Best First'.
Re^2: Read/Write Chinese Characters
by remiah (Hermit) on Oct 15, 2012 at 21:15 UTC

    Does your editor take it as GB2312 or UTF-8? or Big5?

    Is there a correct one when you open the file(Chinese_output.out) with browser and changing encoding with browser's menu?