note 89044 deleted from function.json-encode by thiago

From: Date: Thu, 19 Feb 2009 04:43:53 +0000
Subject: note 89044 deleted from function.json-encode by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150844@lists.php.net to get a copy of this message
Note Submitter: muz at focus dash computing.com.au ---- json_encode didn't work well for me, where some of my strings included special characters (not necessarily utf8). It would simply return a null. For example: Hinge 107° The degree symbol would cause the entire string to be returned as a null. I managed to solve this once by trying to convert the text to utf8 first, however this didn't work consistently. In this instance I have reverted to an older JSON encoding class to process my strings.

« previous php.notes (#150844) next »