W3C home > Mailing lists > Public > www-tag@w3.org > January 2003

RE: Draft 2 of "How to Compare URIs"

From: Biron,Paul V <Paul.V.Biron@KP.org>
Date: Fri, 24 Jan 2003 14:18:36 -0800
Message-Id: <8904C60CACA7D51191BC00805FEAAF430117219C@crdc-exch-7.crdc.kp.org>
To: "'Dan Connolly'" <connolly@w3.org>, Paul Cotton <pcotton@microsoft.com>
Cc: Tim Bray <tbray@textuality.com>, WWW-Tag <www-tag@w3.org>

> -----Original Message-----
> From:	Dan Connolly [SMTP:connolly@w3.org]
> Sent:	Tuesday, January 14, 2003 6:37 AM
> To:	Paul Cotton
> Cc:	Tim Bray; WWW-Tag
> Subject:	RE: Draft 2 of "How to Compare URIs"
> 
> On Mon, 2003-01-13 at 19:54, Paul Cotton wrote:
> [...]
> > > I suggest that if we discover that
> > > there is noticeably more upper-case than lower-case, we pick
> > upper-case,
> > > otherwise lower-case.
> > 
> > Microsoft's System.URI class uses upper-case.  What do others use?
> 
> The python libraries seem to use upper-case too.
> 
> $ python
> Python 2.2.2 (#1, Jan  3 2003, 12:42:27) 
> [GCC 2.95.4 20011002 (Debian prerelease)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import urllib
> >>> urllib.quote("a:b")
> 'a%3Ab'
> 
as much as I hate to admit it, the common perl 5 package also uses upper case:

$ cat uri_escape.pl
use URI::Escape ;
$\ = "\n" ;
print "Perl Version: $]" ;
print "URI::Escape Version: $URI::Escape::VERSION" ;
print uri_escape ("a:b") ;

$ perl uri_escape.pl
Perl Version: 5.006001
URI::Escape Version: 3.19
a%3Ab

pvb
Received on Friday, 24 January 2003 17:29:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:15 GMT