note 33618 added to function.utf8-encode
| From: | sebasoft at hotmail dot com | Date: | Wed, 02 Jul 2003 00:17:24 +0000 |
| Subject: | note 33618 added to function.utf8-encode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51329@lists.php.net to get a copy of this message | ||
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>
----
Manual Page -- http://www.php.net/manual/en/function.utf8-encode.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33618
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33618&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33618&report=yes