You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
I'm sorry, I can't attach a file that causes a bug because of some company
policies forbid it.
I found that the bug might be near the the line 1108.
$newstr = '';
for ($j = 0; $j < strlen($retstr); $j++) {
$newstr = $retstr[$j].chr(0);
}
$retstr = $newstr;
I really not an expert in excel's inner file format, but I think that this code
will truncate the string inside the $retstr variable.
I replaced the
$newstr = $retstr[$j].chr(0);
with
$newstr .= $retstr[$j].chr(0);
and now everything works as it should be (at least it looks like that).
Thank you.
Dmitry.
Original issue reported on code.google.com by [email protected] on 21 Feb 2012 at 3:27
The text was updated successfully, but these errors were encountered:
I have this issue too but changing the line in the code made no difference. In
my original 2806 line 20 column file looping through the first row columns with
$data ->val (1, $col) truncated each string by an apparently random ammount.
lopping off all but the first four rows it's fine. Any suggestions?
Original issue reported on code.google.com by
[email protected]
on 21 Feb 2012 at 3:27The text was updated successfully, but these errors were encountered: