note 100186 added to function.htmlentities
| From: | drallen at cs dot uwaterloo dot ca | Date: | Wed, 29 Sep 2010 23:11:44 +0000 |
| Subject: | note 100186 added to function.htmlentities | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172829@lists.php.net to get a copy of this message | ||
A pointer to http://www.php.net/manual/en/function.mb-convert-encoding.php
if your intention is to translate *all* characters in a charset to their corresponding HTML
entities, not just named characters. Non-named characters will be replaced with HTML numeric
encoding. eg:
$text = mb_convert_encoding($text, 'HTML-ENTITIES', "UTF-8");
----
Server IP: 69.147.83.197
Probable Submitter: 129.97.15.168
----
Manual Page -- http://www.php.net/manual/en/function.htmlentities.php
Edit -- https://master.php.net/note/edit/100186
Del: integrated -- https://master.php.net/note/delete/100186/integrated
Del: useless -- https://master.php.net/note/delete/100186/useless
Del: bad code -- https://master.php.net/note/delete/100186/bad+code
Del: spam -- https://master.php.net/note/delete/100186/spam
Del: non-english -- https://master.php.net/note/delete/100186/non-english
Del: in docs -- https://master.php.net/note/delete/100186/in+docs
Del: other reasons-- https://master.php.net/note/delete/100186
Reject -- https://master.php.net/note/reject/100186
Search -- https://master.php.net/manage/user-notes.php