Because a program needs to output UTF-8 encoding... but the original data is GBK encoded
Baidu found a lot of classes about internal code conversion... but there are many shortcomings. It does not support GBK TO UTF-8
However After searching one by one, I found mb_convert_encoding() in the official PHP FAQ. This function is only available in PHP 4.0.6 or above. I heard that some
would like to follow the link: http://cn.php.net/manual/zh /function.mb-convert-encoding.php
Make a GBK To UTF-8
< ?php
header("content-Type: text/html; charset=Utf-8");
echo mb_convert_encoding("