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

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

WBOY
Release: 2016-06-13 10:31:48
Original
867 people have browsed it

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

urlencode这个转的又不是的

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

Related labels:
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