冒险岛2最好看的发型:XML出现乱码?求高手

来源:百度文库 编辑:高考问答 时间:2024/05/06 04:21:26
用ASP写,浏览却出现乱码,请问如何解决?
代码如下:

<%Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")

xml.Open "GET", "http://www.baidu.com/", False
' Pull the data from the web page
xml.Send

Response.write "Here's the html we now have in our xml object"
Response.write "<BR><BR><BR>"
Response.Write "<xmp>"
Response.Write xml.responseText
Response.Write "</xmp>"
Response.write "<BR><BR><BR>"
Response.write " Now here's how the page looks:<BR><BR>"
Response.Write xml.responseText

Set xml = Nothing
%>