943,786 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 1771
  • VB.NET RSS
Feb 22nd, 2008
0

unescaping uri in HttpWebRequest

Expand Post »
Hi, all!

I'm trying to send a HttpWebRequest to an url that, other than %20, does not take escaped characters.
But for some reason, when I do:
_HttpWebRequest = DirectCast(System.Net.HttpWebRequest.Create(New Uri("http://web_address")), System.Net.HttpWebRequest) I end up with an escaped uri string.
For example, a string containing the swedish letters å, ä and ö always become escaped.
I need to prevent that from happening.

Anyone knows how to do this, so that I can send a clean uri string?

Thanks!
Reputation Points: 87
Solved Threads: 128
Practically a Master Poster
Oxiegen is offline Offline
652 posts
since Jun 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: validation
Next Thread in VB.NET Forum Timeline: simple chat box..





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC