Home » File Formats » Spreadsheet_Excel_Writer » Bug #1805
Cyrillic symbols problem in Excel '97
Details
| Submitted | 2004-07-06 11:54 UTC |
|---|---|
| From | arhip at goldentele dot com |
| Assigned | xnoguer |
| Status | Closed |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 4.3.7 |
| OS | UnitedLinux 1.0/Win2000(client) |
| Roadmaps | (Not assigned) |
Comments
[2004-07-06 11:54 UTC] arhip at goldentele dot com
Description:
------------
To test writing a big text block (approx. 2000 chars) to a cell i'm using a setVersion method. When i call my script w/o setVersion all cyr. chars are displayed correctly, but cells legth are limited to 255 chars. When setVersion(8) is called - string not truncated, but text in a cell and workbook name are displayed incorrectly. Somthing like codepage not set...
[2004-08-15 19:24 UTC] peter_jq at yahoo dot com
I can't dislpay correctly cyrillic chars even with setVersion..
[2004-08-15 20:10 UTC] peter_jq at yahoo dot com
Got it working with $workbook->_codepage = '1251';
Now i have all characters correctly dislpayed in all versions, but when setVersion(8) is called i loose all collors :) But with v.8 there is no limit on characters per box, which made me to stay with it.
[2004-08-15 20:15 UTC] peter_jq at yahoo dot com
I know setVersion will be changed , and this is not related to current bug submission,but with
setVersion(8) also all notes to cells set via -> writeNote are missing...
[2005-11-08 13:20 UTC] xnoguer at php dot net
This bug has been fixed in CVS.
If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Please check http://pear.php.net/bugs/bug.php?id=1572
You should usesetInputEncoding('windows-1251');