Home >Backend Development >PHP Tutorial >我喜欢的乱码问题,这次想不通了,看谁有解?

我喜欢的乱码问题,这次想不通了,看谁有解?

WBOY
WBOYOriginal
2016-06-23 14:28:31853browse

把discount=0¬ify_url写入test.html,无论用gbk还是utf8查看,都会显示乱码


回复讨论(解决方案)

我勒个去!这显示没有乱码。

先忙!一会再来看看

¬ 被当作HTML实体了 discount=0¬ify_url这样就不会乱

htmlspecialchars()

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
Previous article:一个thinkphp的问题Next article:求解密