hello!
i got a problem
that is UTF-8 in json_encode
in default
json_encode will change UTF-8 word to \uXXXX
but! that is a problem!!
because it will be the \\uXXXX
than to this  \\\uXXXX
that is not good

so...

 

if in PHP 5.4 we can use this

json_encode($data, JSON_UNESCAPED_UNICODE);

to cancel UTF-8 word change
but not way in PHP 5.3
so i found a solution
here

$data        = array('安安','您好');
$jsonData    = json_encode($data);
$newJsonData = preg_replace_callback('/\\\\u(\w{4})/', function ($matches) {
    return html_entity_decode('&#x' . $matches[1] . ';', ENT_COMPAT, 'UTF-8');
}, $jsonData);

//$jsonData    :  \uXXX 
//$newJsonData : no \uXXX 

so...maybe can use this solution
cheer!