note 107641 deleted from function.htmlentities by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 20:26:07 +0000 |
| Subject: | note 107641 deleted from function.htmlentities by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187805@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
@robin;
Use it with "ENT_IGNORE" in order to not lose your data.
// ""
echo htmlentities('£hello', null, 'utf-8');
// hello
echo htmlentities('£hello', ENT_IGNORE, 'utf-8');