时间:2021-07-01 10:21:17 帮助过:58人阅读
- <br><%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <br><%Session.CodePage=936%> <br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br><html xmlns="http://www.w3.org/1999/xhtml"> <br><head> <br><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <br><title>Page(gb2312)-jb51.net</title> <br></head> <br><br><body> <br><script type="text/javascript"> <br>document.write("<a href='t2.asp?keyword=" + escape("木子屋") + "'>木子屋</a>"); <br></script> <br><br/> <br><% <br>Response.Write(Request.QueryString("keyword")) <br>%> <br></body> <br></html> <br> <br><strong>t2.asp(utf-8编码): <br></strong><span><u></u></span> 代码如下:<pre class="brush:php;toolbar:false layui-box layui-code-view layui-code-notepad"><ol class="layui-code-ol"><li><br><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <br><%Session.CodePage=65001%> <br><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <br><html xmlns="http://www.w3.org/1999/xhtml"> <br><head> <br><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <br><title>Page(utf-8)-jb51.net</title> <br></head> <br><br><body> <br><script type="text/javascript"> <br>document.write("<a href='t1.asp?keyword=" + escape("木子屋") + "'>木子屋</a>"); <br></script> <br><br/> <br><% <br>Response.Write(Request.QueryString("keyword")) <br>%> <br></body> <br></html> <br></li><li> </li><li> </li></ol></pre>