When a browser sends form data to the server, it uses one of two encodings method:
1. application/x-www-form-urlencoded. This encoding is default. Next VBS code is function, which lets you decode such data (reverse function for Server.URLEncode).
2. multipart/form-data - You can use Pure ASP file upload with progress to decode such forms.
for 'URLDecode function' articlePost large form data to ASP - Request.Form and stack overflow error?This article shows a way to work with request.form fields with any size, without 'Stack overflow' error.
Copyright and use this code
The source code on this page and other samples at http://www.motobit.com/tips/ are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
2. Link this sample from you page.
<A Href="http://www.motobit.com/tips/detpg_URLDecode/" Title="VBS source code to decode URL encoded strings (reverse to Server.URLEncode)" >URLDecode function</A>
© 1996 - 2014 Antonin Foller, Motobit Software | About, Contacts | (Find us on Google+)