Msxml2.ServerXMLHTTP¨+ åäö

T

TW

Hi,

Scenario

I have a jsp file i read over http to asp file. But have problem with
character åäö?

Dim objXmlHttp

Dim strHTML

Set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")

objXmlHttp.open "GET", "xxx", False

objXmlHttp.send

strHTML = objXmlHttp.responseText

Set objXmlHttp = Nothing

%>

<%=strHTML%>








Help me...

// tw
 
A

Anthony Jones

TW said:
Hi,

Scenario

I have a jsp file i read over http to asp file. But have problem with
character åäö?

Dim objXmlHttp

Dim strHTML

Set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")

objXmlHttp.open "GET", "xxx", False

objXmlHttp.send

strHTML = objXmlHttp.responseText

Set objXmlHttp = Nothing

%>

<%=strHTML%>








Help me...

You haven't given us a lot to go on so this is a guess. The remote server
is not specifying the CharSet it is using to send it's response and the
response is using a different code page than the system code page of your
server. In the absence of a charset in the content type header of a
response the WinHTTP stack will assume it is receiving characters in the
current system code page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top