Doc #52622 [Asn->Csd]: Mention that JSON must be UTF-8 encoded
| From: | aharvey@php.net | Date: | Tue, 17 Aug 2010 08:31:23 +0000 |
| Subject: | Doc #52622 [Asn->Csd]: Mention that JSON must be UTF-8 encoded | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4873@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52622&edit=1
ID: 52622
Updated by: aharvey@php.net
Reported by: bugs dot 20 dot awd at spamgourmet dot com
Summary: Mention that JSON must be UTF-8 encoded
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: 5.2.14
Assigned To: aharvey
Block user comment: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-08-17 10:31:14] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=302383
Log: Fix doc bug #52622 (Mention that JSON must be UTF-8 encoded).
------------------------------------------------------------------------
[2010-08-17 10:15:32] bugs dot 20 dot awd at spamgourmet dot com
Description:
------------
I had a problem with json_decode() that it returned NULL via _GET even
though the JSON was valid. Turns out that the JSON string has to be
UTF-8 encoded (thanks to the commenter). This should be mentioned in the
docs in the parameter breakdown.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52622&edit=1