According to the ECMA standard (edition 3), a URI is composed of component parts separated by special characters. The special characters are:
Colon (:)
Slash (/)
Semi-colon (;)
Question-mark (?)
Other characters are reserved for future use.
A URI will need to be encoded without damaging these characters. Normal escape() function techniques are not URI safe.
ECMA defines functions for encoding and decoding the entire URI and also functions for dealing with its components individually.
Prev | Home | Next |
URI | Up | URIError object |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |