Home » File Formats » Spreadsheet_Excel_Writer » Bug #8191
use kanji sheet name and can't get correct result
Details
| Request #8191 | use kanji sheet name and can't get correct result |
|---|---|
| Submitted | 2006-07-12 05:47 UTC |
| From | niceon at gmail dot com |
| Assigned | progi1984 |
| Status | Feedback |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 5.1.4 |
| OS | XP |
| Roadmaps | (Not assigned) |
Comments
[2006-07-12 05:47 UTC] niceon at gmail dot com
Description:
------------
I write php file in utf-8 encode ,and also the sheet name is in utf-8 ,when i create excel file use code like :
$sheetname="Š¿Žš"// japanese kanji use utf-8 encode
$workbook->setVersion(8);
$worksheet =& $workbook->addWorksheet($sheetname);
$worksheet->setInputEncoding('utf-8');
.....
in the created excel file all the sheet name are in chaos ,but the cells are correctly displayed.
so,can your give a function to set the InputEncoding of the sheet name.this will be very helpful!