让Asp 输出编码为UTF-8格式的XML内容
由 非洲饿鱼 于 星期三, 03/03/2010 - 09:35 发表
只存文件为utf-8不管用的!![]()
<% Response.CodePage = 65001 Response.Charset="UTF-8" Response.ContentType = "text/xml" %>
<%
Response.CodePage = 65001
Response.Charset="UTF-8"
Response.ContentType = "text/xml"
dim hrequest
Set hrequest = Server.CreateObject("Microsoft.XMLHTTP")
hrequest.open "GET", "http://www.abc.com/abc.xml", false
hrequest.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
hrequest.Send()
response.write hrequest.responseText
%>
