Home >Backend Development >PHP Tutorial >求Unicode编码转换成汉字

求Unicode编码转换成汉字

WBOY
WBOYOriginal
2016-06-23 13:22:231691browse

%E5%8D%97%E6%98%8C%E5%B8%82%E7%89%B9%E9%85%B7%E5%B7%A5%E8%B4%B8%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8

请用代码把它转化成汉字。谢谢。


回复讨论(解决方案)

这是 url 编码,不是 Unicode 编码

header('Content-type: text/html;charset=utf-8');echo urldecode('%E5%8D%97%E6%98%8C%E5%B8%82%E7%89%B9%E9%85%B7%E5%B7%A5%E8%B4%B8%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8');
南昌市特酷工贸有限公司

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