RE: Encoding Spaces

Mike Dierken <[email protected]> Mon, 1 Jul 2002 09:03:24 -0700
Newsgroups gmane.comp.web.general
Message-ID <[email protected]>
An HTTP URL has different parts with different character encoding issues.
The 'path' part (example: "/segment/segment/segment/") uses %20 for a space
character.
The 'query' part (example "?name=value&name=value") uses + for a space
character.

There may be more useful information in this document here:
http://www.ietf.org/rfc/rfc1630.txt

Mike

> -----Original Message-----
> From: Paulo PatrĂ­cio [mailto:[email protected]] 
> Sent: Monday, July 01, 2002 3:19 AM
> To: [email protected]
> Subject: Encoding Spaces
> 
> 
> 
> Why spaces are sometimes encoded as %20 rather than + ?
> We' ve had some problems when the %20 appears instead of +. 
> What is the correct way ? May this be related with the 
> browser's/web server's used ? Thank's in advance.
> 
> Paulo Patricio
> 
>