note 123229 added to function.htmlspecialchars
| From: | RaziulIslam@php.net | Date: | Sat, 13 Oct 2018 16:42:13 +0000 |
| Subject: | note 123229 added to function.htmlspecialchars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209434@lists.php.net to get a copy of this message | ||
I was looking for a function that will convert special characters to their numeric value. I tried
for htmlentities() and htmlspecialchars() but only single quote's are converted to their
numeric value.
It will be a great pleasure to have something that can covert others too.
I like to see a bullet ⢠converted into • instead of •
Please someone help me with that
----
Server IP: 208.43.231.9
Probable Submitter: 118.179.62.149
----
Manual Page -- http://php.net/manual/en/function.htmlspecialchars.php
Edit -- https://master.php.net/note/edit/123229
Del: integrated -- https://master.php.net/note/delete/123229/integrated
Del: useless -- https://master.php.net/note/delete/123229/useless
Del: bad code -- https://master.php.net/note/delete/123229/bad+code
Del: spam -- https://master.php.net/note/delete/123229/spam
Del: non-english -- https://master.php.net/note/delete/123229/non-english
Del: in docs -- https://master.php.net/note/delete/123229/in+docs
Del: other reasons-- https://master.php.net/note/delete/123229
Reject -- https://master.php.net/note/reject/123229
Search -- https://master.php.net/manage/user-notes.php