Sign in to follow this  

[web] asp proxy file

This topic is 4299 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Could some1 please tell me how to correct my script so it supports special characters like åäö, right now these characters are replaced with a ?, could the problem be that im using the wrong codepage, the script looks something like this: <% Dim con,url,data url = Request.QueryString("xml") Set con = Server.CreateObject("Microsoft.XMLHTTP") con.Open "GET",url,False con.Send() data = con.responseText Response.ContentType = "text/xml" Response.Write(data) Set con = Nothing %>

Share this post


Link to post
Share on other sites
Does the original document have the correct encoding set on it?

Web browsers are evil, they have various behaviours in which compensate for web developers' incompetence.

Machine-machine communications generally require correct headers etc, set or they will interpret the data incorrectly.

Look at the headers etc, of the original document. Save it out, inspect it, ensure that it's encoded how it says it is.

Then try again.

Mark

Share this post


Link to post
Share on other sites

This topic is 4299 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this