note 78503 deleted from function.htmlentities by cmb
| From: | cmb@php.net | Date: | Sun, 01 Dec 2019 08:30:50 +0000 |
| Subject: | note 78503 deleted from function.htmlentities by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213295@lists.php.net to get a copy of this message | ||
Note Submitter: marktpitman at gmail dot com
----
I just thought I would add that if you're using the default charset, htmlentities will not
correctly return the trademark ( ⢠) sign.
Instead it will return something like this: �
If you need the trademark symbol, use:
<?php htmlentities( $html, ENT_QUOTES, "UTF-8" ); ?>