Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199675 - dev-php/PEAR-Spreadsheet_Excel_Writer - UTF-8 support for
Summary: dev-php/PEAR-Spreadsheet_Excel_Writer - UTF-8 support for
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: PHP Bugs
URL: http://pear.php.net/bugs/bug.php?id=1572
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 17:30 UTC by valli
Modified: 2007-11-30 00:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patched Workbook.php (Workbook.php,55.66 KB, application/php)
2007-11-19 17:36 UTC, valli
Details
Patch for Workbook.php of dev-php/PEAR-Spreadsheet_Excel_Writer-0.9.1 (0.9.1-utf-8.patch,7.73 KB, patch)
2007-11-21 08:00 UTC, valli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description valli 2007-11-19 17:30:48 UTC
The current version of the PEAR Spreadsheet_Excel_Writer
still does not handle UTF-8 charset correctly.
However, there is a working patch (Miso's patch) on
http://pear.php.net/bugs/bug.php?id=1572

This patch works for me and for a lot of other people.

I think the ebuild should include this.
UTF-8 functionality is fundamental nowadays.

Reproducible: Always
Comment 1 valli 2007-11-19 17:36:44 UTC
Created attachment 136412 [details]
Patched Workbook.php

This is the complete Workbook.php
Just Replace the original
/usr/share/php/Spreadsheet/Excel/Writer/Workbook.php
with this one.
(See also the comment '[2006-05-31 13:17 UTC] michal dot fapso at goldenboat dot net (Michal Fapso)' of the Bug Report
http://pear.php.net/bugs/bug.php?id=1572)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-11-20 23:27:59 UTC
Please, attach a patch against 0.9.1 so that we can review which changes are made there... I'm rather confused by the upstream bug.
Comment 3 valli 2007-11-21 08:00:05 UTC
Created attachment 136575 [details, diff]
Patch for Workbook.php of dev-php/PEAR-Spreadsheet_Excel_Writer-0.9.1

Here's the requested patch.
(diff -u Workbook.php_orig Workbook.php > 0.9.1-utf-8.patch)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 00:00:11 UTC
InCVS, USE=unicode.