PHP decoding and encoding json with unicode characters

I have found following way to fix this issue… I hope this can help you.

json_encode($data,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES);

Leave a Comment