使用PHP删除编码 [英] Remove encoding using PHP
本文介绍了使用PHP删除编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下文本:
We%27re%20proud%20to%20introduce%20the%20Amazing
我想使用PHP删除编码,但要使用 html_entity_decode()
不起作用。
I'd like to remove the encoding using PHP, but using html_entity_decode()
does not work.
有任何建议吗?
推荐答案
echo urldecode('We%27re%20proud%20to%20introduce%20the%20Amazing');
这是一个url_ecoded字符串。使用 urldecode
This is an url_ecoded string. Use urldecode
这篇关于使用PHP删除编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文