Widrogo / php-excel-reader

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

binary data is no longer read correctly #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am not sure how I got to this point but the results I get from reading
files the previously worked is they are now unreadable. I traced the issue
line # 111 where the header of the file is read to 8 characters but returns
13 characters instead. It is obviously reading the binary data much
differently and I have tried many version of php with my hosting provider
and it doesn't correct it. 

Original issue reported on code.google.com by bradmcma...@gmail.com on 1 Mar 2010 at 8:31

GoogleCodeExporter commented 9 years ago
same trouble in issue 11. Trouble instantly appear and instantly disappear.
Absolutely same xls file. I even don`t change PHP.

Original comment by d...@mail.ru on 5 Mar 2010 at 9:35

GoogleCodeExporter commented 9 years ago
I traced it back to the string functions unable to handle multibyte data 
correctly. 
Using mutlibyte string functions seems to have no difference.

Original comment by bradmcma...@gmail.com on 5 Mar 2010 at 1:08

GoogleCodeExporter commented 9 years ago
when you get this error:
function: Spreadsheet_Excel_Reader(data/some_file.xls): <file:
classes/php_excel_reader/excel_reader2.php> <line: 839> function: read: <line: 
904>
function: read: <line: 124> substr(this->data,0,8)!=РПаЎ±б

try using shell command:
service httpd reload

Original comment by d...@mail.ru on 10 Mar 2010 at 4:05

GoogleCodeExporter commented 9 years ago
after changing my encoding back to "iso-8859-1" from "UTF-8" 
and commenting out all options under [mbstring] I got it to work again. This is 
sub
optimal.

Original comment by bradmcma...@gmail.com on 23 Apr 2010 at 7:07

GoogleCodeExporter commented 9 years ago
Hi guys, i face the same problem can anyone please post a solution?

Original comment by gregko...@gmail.com on 11 May 2010 at 2:53

GoogleCodeExporter commented 9 years ago
Yes

Original comment by macapps....@gmail.com on 14 Oct 2012 at 12:58