jasonrogena / jasonrogena/php-excel-reader

encoding problem truncates text string

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Hi,
I am trying to read the attached file but the text string in B2 cell is
truncated.

This is my code:

$data = new Spreadsheet_Excel_Reader("withproblem.xls");

for ($i = 2; $i <= $data->sheets[0]['numRows']; $i++)
{
$arrayTemp = $data->sheets[0]['cells'][$i];
var_dump($arrayTemp);
}

Have you any idea?

thank you,
Sandro
```

Original issue reported on code.google.com by `sandro.t...@gmail.com` on 14 Dec 2010 at 2:31

Attachments:
- [phpexcelreader_file_with_problem.xls](https://storage.googleapis.com/google-code-attachments/php-excel-reader/issue-102/comment-0/phpexcelreader_file_with_problem.xls)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report with the attached phpexcelreader_file_with_problem.xls, using the Spreadsheet_Excel_Reader constructor and the loop shown in the issue. Trace how the B2 cell is read and decoded, then verify that its full text is preserved rather than truncated.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.