I am using json_encode($data) on an array with Russian characters in the field. To display its encoding I used mb_detect_encoding() and it displays UTF-8. I tried utf8_encode it bypass that error but the result is incorrect. Can someone please help me with this?