PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » File Formats » Spreadsheet_Excel_Writer » Bug #8191

use kanji sheet name and can't get correct result

Details

Request #8191use kanji sheet name and can't get correct result
Submitted2006-07-12 05:47 UTC
Fromniceon at gmail dot com
Assignedprogi1984
StatusFeedback
PackageSpreadsheet_Excel_Writer
PHP Version5.1.4
OSXP
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!