RE: Draft 2 of "How to Compare URIs"

> -----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 UTC