Function urlencode()
Encode / decode string to URL and backwards. All non-alphanumeric characters are replaced with a percent sign followed by two hex digits.
String or URL:
Convert
Result:
Encoded with urlencode():
Decoded with urldecode():