note 117120 added to json.constants

From: Date: Fri, 17 Apr 2015 10:06:54 +0000
Subject: note 117120 added to json.constants
Groups: php.notes 
Request: Send a blank email to php-notes+get-202288@lists.php.net to get a copy of this message
When decoding the euro symbol (€) as below: json_encode(utf8_encode('€') json_encode provides the UTF-8 code \u0080, but it would be really interesting to get the \u20AC one. Maybe a new option could be added to get the current code or the \u20AC one. ---- Server IP: 72.52.91.14 Probable Submitter: 217.126.145.115 ---- Manual Page -- http://php.net/manual/en/json.constants.php Edit -- https://master.php.net/note/edit/117120 Del: integrated -- https://master.php.net/note/delete/117120/integrated Del: useless -- https://master.php.net/note/delete/117120/useless Del: bad code -- https://master.php.net/note/delete/117120/bad+code Del: spam -- https://master.php.net/note/delete/117120/spam Del: non-english -- https://master.php.net/note/delete/117120/non-english Del: in docs -- https://master.php.net/note/delete/117120/in+docs Del: other reasons-- https://master.php.net/note/delete/117120 Reject -- https://master.php.net/note/reject/117120 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202288) next »