09-15-2012, 01:30 AM
[eluser]Unknown[/eluser]
Hello I have this array
and I return the result like this
But the result is
Hello I have this array
Code:
$set = array(
'text' => 'Текст на кирилица'
);
Code:
echo json_encode($set);
Quote:{"text" : null}But when I change text to 'Latin text' everything is alright...It returns me
Quote:{"text" : "Latin text"}So my question why the array doesn't allow Cyrillic values and how can I fix this problem?