yourilima / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

Dump xls returns nothing (php-excel-reader 2.22) #184

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi everyone,
I am using excel_reader2.php (v2.22) to read an xls which has many sheets and 
contains Chinese characters

Here are the steps to produce this issue
1. source code:
   $data = new Spreadsheet_Excel_Reader("01.02_ori.xls");
   $data->setOutputEncoding('CP1251');
   echo $data->dump(true,true, 0);

2. The dump on the browser only return like one cell table and the count amount 
is 0.

Attached is the xls file and the screenshot. It seems either the sheets issue 
as I can handle the Chinese character inside the file, but I think it may be 
the cause that the dump process is failed now. Does the original excel file has 
a different file encoding?

I hope anyone can help me and perhaps the solution can help others who are 
experiencing the same issue.

cheers, thanks.

Original issue reported on code.google.com by mail.isu...@gmail.com on 8 Feb 2014 at 10:43

Attachments: