PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Text » Text_Wiki » Bug #4442

UTF-8 encoded text is translated to ISO-Latin-1 entities

Details

Submitted2005-05-26 13:56 UTC
Fromstrauchdieb at gmx dot de
Assignedpmjones
StatusBogus
PackageText_Wiki
PHP Version4.3.9
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-05-26 13:56 UTC] strauchdieb at gmx dot de

Description:
------------
When text is sent from a page that has the charset utf-8, the characters are interpreted as iso-latin-1 chars leading to unwanted conversion.

Reproduce code:
---------------
//Source code must be saved with UTF-8 encoding
include 'Text/Wiki.php';
$wiki =& new Text_Wiki();
echo $wiki->transform("Ö", 'Xhtml');

Expected result:
----------------
Ö

Actual result:
--------------
�