austgl / php-excel-reader2

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

Patch for truncated texts #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Change
   $newstr = $retstr[$j].chr(0);
into
   $newstr .= $retstr[$j].chr(0);
around line 547 in reader.php.

When the excel's SST record exceeds the BIFF record size (which may happen if 
you have more than 8kbyte of unique texts in cells), and a CONTINUE is inserted 
in the middle of a string, then only the end of the string is returned for that 
cell, the first portion is truncated.

Original issue reported on code.google.com by gergely....@gmail.com on 30 Nov 2010 at 3:02