Home  >  Article  >  php教程  >  jq的get传参数在utf-8中乱码问题的解决php版

jq的get传参数在utf-8中乱码问题的解决php版

WBOY
WBOYOriginal
2016-06-13 12:28:02814browse

nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



Untitled Document




echo urldecode("%E5%93%88%E5%93%88");
echo "
";
echo rawurldecode("%E5%93%88%E5%93%88");
echo "
";
echo utf8_decode("%E5%93%88%E5%93%88");
echo "
";
echo "%E5%93%88%E5%93%88";
echo "
";
echo $_GET['act'];
echo "
";
echo urlencode($_GET['act']);
?>

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