Encode URL Function

The encode_url function encodes a URL. It replaces each nonstandard character with the encoded value. The following format identifies a sequence:

%xx

The encode_url function uses the following format:

encode_url(url)

where:

  • url is a string that contains the URL that the encode_url function encodes.