Home >Backend Development >PHP Tutorial >php网页标题中文乱码的有效解决方法_php技巧

php网页标题中文乱码的有效解决方法_php技巧

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-17 08:48:20929browse

刚刚测试了一个php的网页,结果发现标题中文乱码,于是乎,搜搜得到了一个比较不错的答案

标签前面添加以下一句话就解决了 <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="85451" class="copybut" id="copybut85451" onclick="doCopy('code85451')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code85451"> <br><meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <br> </div>
Statement:
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