I have this text "纽约黄金" from an api. When I use file_get_contents
to get the data it displays ŦԼ�ƽ�
.
I manage to convert it using this code.
$string = iconv(mb_detect_encoding($string, mb_detect_order(), true), "UTF-8", $string);
My problem is when I upload it to server, instead of showing the readable text, it displays nothing.
Hope you help me.