Click to See Complete Forum and Search --> : From URLEncode -> Normal


piersk
11-28-2003, 05:56 AM
I know that Server.URLEncode converts into a URL, but how can I go from that back to "normal" text?

lillu
11-28-2003, 06:40 AM
HTMLEncode - Applies HTML encoding to the specified string

piersk
11-28-2003, 08:06 AM
No, that just outputs the HTML code (i.e. for "<" it outputs &lt;). I need to (for example) change "+" to " ".

lillu
11-28-2003, 09:47 AM
What about Server.urlDecode?

It does the opposite of urlEncode.
It takes an URL encoded string and converts it to a text string. (eg. to make simple hyperlinks in HTML)

piersk
11-28-2003, 10:08 AM
Object doesn't support this property or method: 'Server.URLDecode'