From:  dietrich.trepnau@st.ovgu.de ("biermann")
Date:  25 Jun 2015 20:39:36 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #20415 [Com]: Special chars in url

NNTP-Posting-Host:  null

Edit report at http://pear.php.net/bugs/bug.php?id=20415&edit=1

 ID:              20415
 Comment by:      biermann
 Reported By:     dietrich dot trepnau at st dot ovgu dot de
 Summary:         Special chars in url
 Status:          Open
 Type:            Bug
 Package:         HTML_BBCodeParser2
 Package Version: 0.1.0
 PHP Version:     Irrelevant
 New Comment:

Cannot confirm this. I get the expected result for the link
http://hu.wikipedia.org/wiki/G籀li獺t_(k矇preg矇ny)


Previous Comments:
------------------------------------------------------------------------

[2014-09-21 20:57:39] dolphinet

Description:
------------
Can't parse correctly urls that have special characters (example: 
wikipedia links).
http://hu.wikipedia.org/wiki/G籀li獺t_(k矇preg矇ny)

Test script:
---------------
require_once 'HTML/BBCodeParser2.php';

$config  = parse_ini_file('includes/BBCodeParser2.ini', true);
$options = $config['HTML_BBCodeParser2'];

$parser = new HTML_BBCodeParser2($options);
$parser->setText($text);
$parser->parse();

echo $parser->getParsed();

Expected result:
----------------
wikip矇dia

Actual result:
--------------
wikip矇dia

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=20415&edit=1