standard.net.curl.curl_easy_unescape

curl_easy_unescape is available since version 1.0.

Prototype:

string curl_easy_unescape(number handle, string url)

Parameters

handle
the CURL handle as returned by curl_easy_init
url
the url

Description:

URL decodes the given string.

This function converts the given URL encoded input string to a "plain string" and returns that in an allocated memory area. All input characters that are URL encoded (%XX where XX is a two-digit hexadecimal number) are converted to their binary versions.

Return value:

Returns the decoded string.