note 119601 added to json.constants
| From: | NK | Date: | Thu, 14 Jul 2016 14:54:02 +0000 |
| Subject: | note 119601 added to json.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206004@lists.php.net to get a copy of this message | ||
I was looking for to diasplay £ symbol in json_encode function but couldn't do that
directly. found the solution from someone's comment. I used utf8_encode('£') to
pass the pound symbol in json_encode function.
----
Server IP: 72.52.91.14
Probable Submitter: 86.188.193.66
----
Manual Page -- http://php.net/manual/en/json.constants.php
Edit -- https://master.php.net/note/edit/119601
Del: integrated -- https://master.php.net/note/delete/119601/integrated
Del: useless -- https://master.php.net/note/delete/119601/useless
Del: bad code -- https://master.php.net/note/delete/119601/bad+code
Del: spam -- https://master.php.net/note/delete/119601/spam
Del: non-english -- https://master.php.net/note/delete/119601/non-english
Del: in docs -- https://master.php.net/note/delete/119601/in+docs
Del: other reasons-- https://master.php.net/note/delete/119601
Reject -- https://master.php.net/note/reject/119601
Search -- https://master.php.net/manage/user-notes.php