Home >Backend Development >PHP Tutorial > 怎的把“女人”转换为“%C5%AE%C8%CB”这样子呢

怎的把“女人”转换为“%C5%AE%C8%CB”这样子呢

WBOY
WBOYOriginal
2016-06-13 13:22:401239browse

怎样把“女人”转换为“%C5%AE%C8%CB”这样子呢
怎样把“女人”转换为“%C5%AE%C8%CB”这样子呢

urlencode这个转的又不是的

------解决方案--------------------
echo urlencode(iconv('UTF-8','GBK','女人'));

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