Function Block RAW_URL_ENCODE

The function block RAW_URL_ENCODE encodes a string according to RFC 3986.

Input

The input defines the string to be encoded.

Output

Returns a string at the output, in which all non-alphanumeric characters except -_.~ are replaced by a percent sign (%) followed by two hex values. This encoding, described in RFC 3986, was designed to prevent special characters from being mistakenly interpreted as special URL delimiters, and to protect URLs from being mangled by transmission media with character conversion (such as some e-mail systems).

See Also