urlencode
convert strings to or from URL-encoded form
- Provided by: gridsite-clients (Version: 3.0.0~20240125git1200598-1.1build1)
- Source: gridsite
- Report a bug
convert strings to or from URL-encoded form
urlencode [-m|-d] string [string ...]
urlencode encodes strings according to RFC 1738.
That is, characters A-Z a-z 0-9 . _ and - are passed through unmodified, but all other characters are represented as %HH, where HH is their two-digit upper-case hexadecimal ASCII representation. For example, the URL http://www.gridpp.ac.uk/ becomes http%3A%2F%2Fwww.gridpp.ac.uk%2F
urlencode converts each character in all the strings given on the command line. If multiple strings are given, they are concatenated with separating spaces before conversion.
0 is always returned.
Andrew McNab <Andrew.McNab@manchester.ac.uk>
urlencode is part of GridSite: http://www.gridsite.org/