Aug 8, 2001 #1 iroo4dex Programmer Jul 30, 2001 2 IE I am looking to use HTMLEncode and URLEncode on my web pages , has anyone got any source code they can recommend?? Any suggestions???
I am looking to use HTMLEncode and URLEncode on my web pages , has anyone got any source code they can recommend?? Any suggestions???
Aug 8, 2001 #2 WildWill IS-IT--Management Jul 25, 2001 95 US I'm not sure if this is what yo want but have a look: The HTMLEncode method applies HTML encoding to a specified string. Syntax Server.HTMLEncode( string ) Parameters string : Specifies the string to encode. Example Code: <%= Server.HTMLEncode("The paragraph tag: <P>") %> produces the output: The paragraph tag: <P> Note The preceding output will be displayed by a Web browser as The paragraph tag: <P> If you view source, or open the page as a text file, you will be able to see the encoded HTML. Billy H bhogar@acxiom.co.uk Upvote 0 Downvote
I'm not sure if this is what yo want but have a look: The HTMLEncode method applies HTML encoding to a specified string. Syntax Server.HTMLEncode( string ) Parameters string : Specifies the string to encode. Example Code: <%= Server.HTMLEncode("The paragraph tag: <P>") %> produces the output: The paragraph tag: <P> Note The preceding output will be displayed by a Web browser as The paragraph tag: <P> If you view source, or open the page as a text file, you will be able to see the encoded HTML. Billy H bhogar@acxiom.co.uk