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 » Text » Text_Wiki » Bug #2340

chars in foreign language are damaged

Details

Submitted2004-09-15 16:51 UTC
Fromcvictor at pchome dot com dot tw
Assignedpmjones
StatusClosed
PackageText_Wiki
PHP Version4.3.8
OSWindows XP
Roadmaps(Not assigned)

Comments

[2004-09-15 16:51 UTC] cvictor at pchome dot com dot tw

Description:
------------
Characters in foreign language such as Japenese and Chinese are damaged after transformation in most places. They only keep the raw format when being inside ``raw`` or in url description part.

Reproduce code:
---------------
+ 連結
+ ``連結``
連結
``連結``
[http://www.php.net 連結]

Expected result:
----------------
<h1>連結</h1>
<h1>連結</h1>
<p>連結<br />
連結<br />
<a href="http://www.php.net">連結</a></p>

Actual result:
--------------
<h1>��</h1>
<h1>連結</h1>
<p>��<br />
連結<br />
<a href="http://www.php.net">連結</a></p>

[2004-09-15 17:01 UTC] cvictor at pchome dot com dot tw

Adding
$wiki->disableRule('translatehtml');
will solve this problem.