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 » Images » Image_Canvas » Bug #9176

UTF-8 in SVGs does not work (patch included)

Details

Submitted2006-10-27 07:42 UTC
Fromstivick at gmail dot com
Assignednosey
StatusClosed
PackageImage_Canvas
PHP Version4.4.2
OSall
Roadmaps(Not assigned)

Comments

[2006-10-27 07:42 UTC] stivick at gmail dot com

Description:
------------
Request #7285 UTF-8 in SVGs

This feature does not work.
Try creating new canvas with encoding set, other than default. In the header of SVG there stil be deafult encoding (ISO-8859-1).

Test script:
---------------
#112 SVG.php:
if (isset($params['encoding'])) {
$this->_encoding = $params['encoding'];

Should be $param instead of $params:
if (isset($param['encoding'])) {
$this->_encoding = $param['encoding'];