Difference between revisions of "URL Encoding"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 1: | Line 1: | ||
{{Note|<br>When specifying a URL in code, any ''special characters'' (characters other than letters and numbers) need to be ''encoded''. For example, a space character is encoded as <tt>%20</tt>. | {{Note|<br>When specifying a URL in code, any ''special characters'' (characters other than letters and numbers) need to be ''encoded''. For example, a space character is encoded as <tt>%20</tt>. | ||
(Browsers typically take care of encoding URLs entered into the address bar--so the URL displayed after | (Browsers typically take care of encoding URLs entered into the address bar--so the URL displayed after visiting a page may differ somewhat from the one that was initially entered.) | ||
''Learn more:'' | ''Learn more:'' |
Revision as of 22:32, 1 February 2012
Note:
When specifying a URL in code, any special characters (characters other than letters and numbers) need to be encoded. For example, a space character is encoded as %20.(Browsers typically take care of encoding URLs entered into the address bar--so the URL displayed after visiting a page may differ somewhat from the one that was initially entered.)
Learn more:
- URL Encoding in HTML
- Encode a URL in JavaScript
- URLEncoder class for Java