note 103926 deleted from function.htmlentities by danbrown

From: Date: Wed, 11 May 2011 15:39:41 +0000
Subject: note 103926 deleted from function.htmlentities by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179617@lists.php.net to get a copy of this message
Note Submitter: daniel-marschall at viathinksoft dot de ---- @robin : This also happened with pages which did not contain a pound. I do have not searched for the faulty character. Following gave out an empty string: <?php $content = htmlentities($content, ENT_NOQUOTES, 'utf-8', false); ?> And this worked: <?php $content = htmlentities($content, ENT_NOQUOTES, 'ISO8859-1', false); ?> I assume that the pound was not correctly utf8 encoded. Please submit it as PHP bug, as this function should output any warning or notice!

« previous php.notes (#179617) next »