Json_encode Charset problem

Posted by Oguz on Stack Overflow See other posts from Stack Overflow or by Oguz
Published on 2010-06-14T06:58:13Z Indexed on 2010/06/14 7:02 UTC
Read the original article Hit count: 517

When I use json_encode to encode my multi lingual strings , It also changes special characters.What should I do to keep them same .

For example

<?
echo json_encode(array('sügçö'));

It returns something like ["\u015f\u00fc\u011f\u00e7\u00f6"]

But I want ["sügçö"]

© Stack Overflow or respective owner

Related posts about php

Related posts about JSON