note 116132 deleted from function.htmlspecialchars by salathe

From: Date: Wed, 12 Nov 2014 14:48:05 +0000
Subject: note 116132 deleted from function.htmlspecialchars by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-200896@lists.php.net to get a copy of this message
Note Submitter: ciltocruz ---- I have a problem... I used PHP 5.5 and this code return empty String. $myCaption = 'áéí'; //encode echo htmlentities($myCaption, ENT_QUOTES); //reverse (decode) echo html_entity_decode($myCaptionEncoded); In PHP 5.2 returns this: áéí áéí Why? I need to convert from "á" to "á" and others especials characters but i don't know how... Any Help? :D

« previous php.notes (#200896) next »