Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Bug #14203 Unicode support broken
Submitted: 2008-06-21 06:58 UTC
From: twu2 Assigned:
Status: Feedback Package: Spreadsheet_Excel_Writer (version 0.9.1)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 20 + 7 = ?

 
 [2008-06-21 06:58 UTC] twu2 (Tommy Wu)
Description: ------------ When use unicode encoding, if the file large than 100K, it might generate a damaged excel file.

Comments

 [2008-06-21 07:07 UTC] twu2 (Tommy Wu)
unicode-patch-by-Michal-Fapso exist in http://pear.php.net/bugs/bug.php?id=1572 but it was not accepted in 0.9.1 after apply above patch, we can use unicode in worksheet cell without any problem, but the worksheet name still can't use unicode. unicode-patch-for-worksheet-name will solve this problem.
 [2008-06-21 07:49 UTC] twu2 (Tommy Wu)
after patched, just pass the encoding as 2nd parameter in setVersion(), then it will work. $workbook->setVersion(8, 'utf-8');
 [2011-12-10 08:13 UTC] doconnor (Daniel O'Connor)
The patches don't apply very cleanly against SVN. clockwerx@clockwerx-desktop:/media/Elements_/backup/home/clockwerx/pear- svn/packages/Spreadsheet_Excel_Writer/trunk/Spreadsheet/Excel$ patch -p1 < patch-download.php\?id\=14203\&patch\=unicode-patch-for-worksheet- name\&revision\=1214031914 (Stripping trailing CRs from patch.) patching file Writer/Format.php (Stripping trailing CRs from patch.) patching file Writer/Workbook.php Hunk #1 succeeded at 166 (offset -6 lines). Hunk #2 succeeded at 265 with fuzz 1 (offset -7 lines). Hunk #3 succeeded at 290 (offset -6 lines). Hunk #4 succeeded at 369 (offset -2 lines). Hunk #5 succeeded at 640 (offset -10 lines). Hunk #6 FAILED at 954. Hunk #7 FAILED at 1034. Hunk #8 succeeded at 1058 (offset 6 lines). 2 out of 8 hunks FAILED -- saving rejects to file Writer/Workbook.php.rej (Stripping trailing CRs from patch.) patching file Writer/Worksheet.php Hunk #1 succeeded at 1305 (offset 75 lines). Hunk #2 succeeded at 1589 (offset 75 lines). Hunk #3 succeeded at 1612 (offset 75 lines). Hunk #4 succeeded at 1860 (offset 75 lines). Hunk #5 succeeded at 2713 (offset 77 lines). Hunk #6 succeeded at 2746 (offset 77 lines). Any chance these can be re-done?
 [2011-12-10 08:13 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback