Home » Text » Text_Wiki » Bug #4442
UTF-8 encoded text is translated to ISO-Latin-1 entities
Details
| Submitted | 2005-05-26 13:56 UTC |
|---|---|
| From | strauchdieb at gmx dot de |
| Assigned | pmjones |
| Status | Bogus |
| Package | Text_Wiki |
| PHP Version | 4.3.9 |
| OS | Irrelevant |
| 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:
--------------
�