note 83089 added to function.html-entity-decode
| From: | kae at verens dot com | Date: | Fri, 09 May 2008 13:11:07 +0000 |
| Subject: | note 83089 added to function.html-entity-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139215@lists.php.net to get a copy of this message | ||
the references to 'chr()' in the example unhtmlentities() function should be changed to
unichr, using the example unichr() function described in the 'chr' reference
(http://php.net/chr).
the reason for this is characters such as € which do not break down into an ASCII number
(that's the Euro, by the way).
----
Server IP: 193.95.141.37
Probable Submitter: 82.141.241.217
----
Manual Page -- http://www.php.net/manual/en/function.html-entity-decode.php
Edit -- https://master.php.net/note/edit/83089
Del: integrated -- https://master.php.net/note/delete/83089/integrated
Del: useless -- https://master.php.net/note/delete/83089/useless
Del: bad code -- https://master.php.net/note/delete/83089/bad+code
Del: spam -- https://master.php.net/note/delete/83089/spam
Del: non-english -- https://master.php.net/note/delete/83089/non-english
Del: in docs -- https://master.php.net/note/delete/83089/in+docs
Del: other reasons-- https://master.php.net/note/delete/83089
Reject -- https://master.php.net/note/reject/83089
Search -- https://master.php.net/manage/user-notes.php