|
May 7, 2000 ASCII-URI Conversions Tips: May 2000
Yehuda Shiran, Ph.D.
|
|
The URI (Universal Resource Index) is a standard format for specifying resources over the Internet. The principle behind this standard is that all its member characters are alphanumeric. All non-alphanumeric characters are replaced by a string in the form of "%xy" where xy being the ASCII encoding of the non-alphanumeric character. The target set of characters belong to to the ISO Latin-1 character set. The ISO Latin-1 (8859-1) is the standard set of characters used over the Internet. Only this standard is guaranteed to be supported on a Web site.
Internet Explorer 5.5 introduced four new methods to encode strings to URIs as well as to decode URIs to strings. The first method,
should generate the following string:
The other three methods are
People who read this tip also read these tips: Look for similar tips by subject: |