|
-
Jan 2nd, 2004, 11:34 AM
#1
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|