I am working on an multilanguage application and we use utf8_genral_ci to store information in multilanguage. information store correctly in database but json encoding give me data in improper formate.
these are what i am getting from server
{"Result":[{"id":"1","name":"\u0939\u093f\u0902\u0926\u0940","admin_id":"29","active":"yes","time":"2013-06-04 03:26:47"},{"id":"2","name":"\u4e2d\u570b\u7684","admin_id":"29","active":"yes","time":"2013-06-04 03:27:11"},{"id":"3","name":"fran\u00e7ais","admin_id":"29","active":"yes","time":"2013-06-04 03:27:34"}]}
while i want to convert/save result in these formate
{
"Result": [
{
"id": "1",
"name": "हिंदी",
"admin_id": "29",
"active": "yes",
"time": "2013-06-04 03:26:47"
},
{
"id": "2",
"name": "中國的",
"admin_id": "29",
"active": "yes",
"time": "2013-06-04 03:27:11"
},
{
"id": "3",
"name": "français",
"admin_id": "29",
"active": "yes",
"time": "2013-06-04 03:27:34"
}
]
}
Thanks in advance.