关于查询字符串的经典asp的不同结果

时间:2014-08-20 02:49:28

标签: asp-classic

我是经典asp的新手。

我在文档顶部添加了这两行

<%@ Language=VBScript CODEPAGE=950 %>
<meta http-equiv="Content-Type" content="text/html; charset=big5" />

我写了一些简单的代码

Dim str0 
str0 = Request.ServerVariables("QUERY_STRING")
Response.write("Orginal string :"&str0)

查询字符串包含中文

http://www.mytest.com/test.asp?as=更

不同浏览器的输出

铬:

Orginal string :as=%E6%9B%B4

IE:

Orginal string :as=更

我可以知道如何解决这个问题?感谢

0 个答案:

没有答案