欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2022-06-11 14:56:42
...




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']);
?>