0

Just curious what language these characters in a URL are from?

For example:force_name=1&name=Tom%20 which is a space.

1 Answer 1

6

The % characters in URLs are not a "programming language." Rather they are URL Encoding or just Percent Encoding. They allow characters to be used in URLs that that cannot otherwise be used un-escaped.

%20 is a space because 20 is the ASCII code for a space character. A space cannot be used in a URL un-escaped because not one of the characters listed as being allowed in URLs.

Percent encoding is defined in section 2.1 of RFC 3986: Uniform Resource Identifier (URI): Generic Syntax.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.