Home > Backend Development > PHP Tutorial > air jordan xx8 php Ajax garbled code

air jordan xx8 php Ajax garbled code

WBOY
Release: 2016-07-29 08:37:51
Original
1167 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template