Escape characters in URL in vb.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • graphicsxp@googlemail.com

    Escape characters in URL in vb.net

    Hi,
    I've got a url that looks like that :

    http://www.myurl.net/Drops 10% - News.doc

    Obviously to be properly interpreted by browsers, special characters
    should be converted (% -%25 and spaces to %20)

    Unfortunately I can't seem to find the right function in vb.net to do
    that.... I've tried Server.UrlEncod e which converts to a lot of crap,
    and HttpUtility.Url Encode which doesn't do it properly either...

    Anyone knows how to do that ? Can't be that hard :(

    Thanks
Working...