让Asp 输出编码为UTF-8格式的XML内容

只存文件为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

%>

 

同步内容