HTML实体通过HTTP头转换为字符


html entities to characters through http header

是否有任何方法将html实体转换为字符而不使用任何实体解码器功能,如html_entity_decode,我的意思是通过设置http标头?

要求:我有一个网页,被重定向到另一个新的网页与一些参数。参数值包含一些html字符,如"要显示在页面上,但它显示为"而不是"。我不想在第二页上使用html_entity_decode。

你要找的

:

 http://php.net/manual/en/function.urlencode.php
 http://php.net/manual/en/function.urldecode.php

可以解决问题