function rssap_json_encode($input)
{
return preg_replace_callback(
'/\\\\u([0-9a-zA-Z]{4})/',
function ($matches) {
return mb_convert_encoding(pack('H*',$matches[1]),'ISO-8859-9');
},
json_encode($input)
);
}
function rssap_json_encode($input)
{
return preg_replace_callback(
'/\\\\u([0-9a-zA-Z]{4})/',
function ($matches) {
return mb_convert_encoding(pack('H*',$matches[1]),'ISO-8859-9');
},
json_encode($input)
);
}