Operator Scope of Action:
Operator First Added:
urlEncode() converts a data to 'urlEncoded' form for for the web, in accordance with RFC1738. URLs should not contain spaces, control characters, or non-ASCII characters. Characters that are illegal in URLs are encoded as '%' followed by the corresponding hexadecimal character code, e.g. a space = %20.
Fixed in v5.10.0, codes 0-15 (#x00-#x15) previously failed to emit the initial zero (i.e. exporting '% a' instead of the correct '%0a').