Doc #52622 [Opn->Asn]: Mention that JSON must be UTF-8 encoded

From: Date: Tue, 17 Aug 2010 08:30:25 +0000
Subject: Doc #52622 [Opn->Asn]: Mention that JSON must be UTF-8 encoded
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4872@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: Open +Status: Assigned Type: Documentation Problem Package: Documentation problem PHP Version: 5.2.14 -Assigned To: +Assigned To: aharvey Block user comment: N Previous Comments: ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#4872) next »