A table which list the methods in different programing languages to encode and decode URL.
Languagege | URL Encoding | URL Decoding |
JavaScript | escape(String) Note: does not encode ‘/’ and ‘+’ character | unescape(String) |
PHP | urlencode(string) | urldecode(string) |
ASP | Server.URLEncode(string) | ? |
Perl | uri_escape Use CGI.pm module. Link. | uri_unescape |
Java | java.net.URLEncode.encode(String) or see this link. | See this link. |
Flash (MX or later) | escape(expresiion) | unescape(expression) |
VBScript | escape(string) | unescape(string) |
.NET | HttpUtility.UrlEncode | HttpUtility.UrlDecode |
Leave a Reply