
The function block RAW_URL_ENCODE encodes a string according to RFC 3986.
The input defines the string to be encoded.
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).