W3C home > Mailing lists > Public > www-talk@w3.org > July to August 2002

RE: Encoding Spaces

From: Mike Dierken <mike@dataconcert.com>
Date: Mon, 1 Jul 2002 09:03:24 -0700
Message-ID: <2AE31649CF989F4FB354F6D95EB0CE6E5CEDCF@xmlfmail.xmlfund.com>
To: www-talk@w3.org
Cc: 'Paulo Patrício' <pjpatricio@bes.pt>

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:pjpatricio@bes.pt] 
> Sent: Monday, July 01, 2002 3:19 AM
> To: www-talk@w3.org
> 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
> 
> 
Received on Monday, 1 July 2002 12:04:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:27 GMT