note 33618 rejected from function.utf8-encode by stone
| From: | stone@php.net | Date: | Wed, 02 Jul 2003 20:23:19 +0000 |
| Subject: | note 33618 rejected from function.utf8-encode by stone | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51381@lists.php.net to get a copy of this message | ||
Note Submitter: sebasoft@hotmail.com
----
When you encode 2 consecutive special chars together, the behaviour is not totally ok.
E.g.:
$text = '<a href="">aquí</a>';//NOTE THE í< part
$textshow = utf8_encode($text);
echo $textshow;
//it outputs
<a href="">aquí/a>
//when it should be
<a href="">aquí</a>