<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>untitled document</title>
<script>
document.write(escape("哈哈")+"<br>");
document.write(unescape("%u54c8%u54c8")+"<br>");
document.write(encodeuricomponent("哈哈")+"<br>");
document.write(decodeuricomponent("%e5%93%88%e5%93%88")+"<br>");
</script>
</head>
<body>
<?php
echo urldecode("%e5%93%88%e5%93%88");
echo "<br>";
echo rawurldecode("%e5%93%88%e5%93%88");
echo "<br />";
echo utf8_decode("%e5%93%88%e5%93%88");
echo "<br />";
echo "%e5%93%88%e5%93%88";
echo "<br />";
echo $_get['act'];
echo "<br />";
echo urlencode($_get['act']);
?>
</body>
</html>
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!