PHP
发布时间:2019-11-19 发布网站:大佬教程 code.js-code.com
大佬教程收集整理的这篇文章主要介绍了jq的get传参数在utf-8中乱码问题的解决php版,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<meta
http-equiv="Content-Type"content="text/html;charset=utf-8"/>
UntitledDocument <?
php echourldecode("%E5%93%88%E5%93%88"
); echo"
";
echorawurldecode("%E5%93%88%E5%93%88"
); echo"
";
echoutf8_decode("%E5%93%88%E5%93%88"
); echo"
";
echo"%E5%93%88%E5%93%88";
echo"
";
echo$_GET['act'];
echo"
";
echourlencode($_GET['act']
); ?>