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

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

WBOY
Release: 2016-06-23 14:28:31
Original
847 people have browsed it

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


回复讨论(解决方案)

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

先忙!一会再来看看

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

htmlspecialchars()

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