note 74796 deleted from function.htmlspecialchars by cmb
| From: | cmb@php.net | Date: | Sun, 27 Oct 2019 09:14:48 +0000 |
| Subject: | note 74796 deleted from function.htmlspecialchars by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212842@lists.php.net to get a copy of this message | ||
Note Submitter: terminatorul at gmail dot com
----
To html-encode Unicode characters that may not be part of your document character set (given in the
META tag of your page), and so can not be output directly into your document source, you need to use
mb_encode_numericentity(). Pay attention to it's conversion map argument.