[thelist] .NET equivalent to PHP urlencode?
Ken Schaefer
ken at adOpenStatic.com
Sun Dec 14 04:20:13 CST 2003
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "fstorr" <fffrancis at fstorr.demon.co.uk>
Subject: [thelist] .NET equivalent to PHP urlencode?
: I know nothing about ASP.NET at all. Can someone tell me
: if there is an equivalent to PHP's urlencode and htmlspecialchars?
:
: If not, is there a simple way that this can be replicated
: so that XHTML isn't littered with unencoded & characters?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server.UrlEncode() and Server.HTMLEncode()
Both in the System.Web Namespace, in HTTPServerUtility class
Cheers
Ken
Microsoft MVP - Windows Server (IIS)
More information about the thelist
mailing list