[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: URI encoding URLs on the cmdline?

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-06-05 23:17:20 CEST

On Sat, 5 Jun 2004, Jim Correia wrote:

> It is probably safe to URI encode non-ascii values based on the current
> locale. However, if you hit a URI reserved character, like %, it isn't
> safe to assume it is needs encoding. (If what follows are not two hex
> digits, the % needed encoded, but if what follows *is* two hex digits,
> it may still need encoding. Only the person who wrote the URI knows for
> sure.)
>
One could choose not to encode the % under the assumption that percent
characters aren't very common in repository URLs. So the user has to
encode %, but not "räksmörgås". I think that would be a better solution
than the current situation. As it stands now, using non-ASCII in
subversion URLs is just not very fun at all...

//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 5 23:06:47 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.