note 33618 rejected from function.utf8-encode by stone

From: 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 &lt;a href=&quot;&quot;&gt;aqu&iacute/a&gt; //when it should be &lt;a href=&quot;&quot;&gt;aqu&iacute;&lt;/a&gt;

« previous php.notes (#51381) next »