And AJAX supports UTF8
Okay, first add a header("content-type:text/html; charset=utf-8");
Tell the webpage that the encoding of this implementation is UTF-8
Then add the required Use $test = iconv('gbk', 'utf-8′, $test); to convert the output content to the encoding
and then output it
If you are interested, you can take a look
header(”content-type: text/html; charset=utf-8″);
$test=”I am Chinese”;
echo $test;
$test = iconv('gbk', 'utf-8′,$ test);
echo $ test;
?>
The above introduces the air jordan xx8 php Ajax garbled code, including the content of air jordan xx8. I hope it will be helpful to friends who are interested in PHP tutorials.