Perl uri_unescape

Converts a URL encoded string to its normal representation.

Function

uri_unescape ( string )

Alias Function

URI.encode ( *args )

Parameters

string - the string to be decoded

Return value

Returns decoded version of string

Example

use URI::Escape;

my $string = "http://example.com/perl%20uri%20unescape";
my $decode = uri_unescape($string);

print $encode;

Output

http://example.com/?a=perl uri unescape

Github

See also: