Results 1 to 5 of 5

Thread: UrlEncode / UrlDecode methods? [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Addicted Member mralston's Avatar
    Join Date
    Aug 2002
    Location
    Altrincham Nr Manchester, England
    Posts
    141

    UrlEncode / UrlDecode methods? [RESOLVED]

    I need some UrlEncode and UrlDecode methods to use in a C# class. I'm not working under ASP.NET so I don't have the Server object.

    I'v been trying to create an instance of the HttpServerUtility object from the System.Web namespace, but it won't tell me what arguments its constructor needs and doesn't like it if I don't provide any.

    I don't mind writing a couple of functions to do the job myself, but I'm not entirely sure what characters should be encoded and which don't need to be.
    Last edited by mralston; Jan 3rd, 2004 at 04:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width