Whatever message this page gives is out now! Go check it out!
URLDecode(urlEncodedString[, charset])Parameter | Description |
urlEncodedString | URL-encoded string or a variable that contains one. |
charset | The character encoding in which the URL is encoded. Optional.The following list includes commonly used values:
|
<cfscript>
bookName ="Hound of Baskervilles";
myURL='http://site.com?book=#EncodeForURL(bookName)#';
WriteOutput(myURL); // http://site.com?book=Hound+of+Baskervilles
writeOutput(urlDecode(myURL)) // http://site.com?book=Hound of Baskervilles
</cfscript>