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

Re: [RFC] Canonical Paths

From: Scott Lamb <slamb_at_slamb.org>
Date: 2002-08-29 06:28:34 CEST

Marcus Comstedt wrote:
> David Waite <mass@akuma.org> writes:
>>How many files in your CVS are named '.'? ;-)
>
> That's beside the point. I don't like the principle of disallowing
> some pathnames, regardless of how silly or seldom used they are.

I don't think perfection is possible - there are always going to be some
paths you can't represent. In particular, Unix does not enforce any
character set on filenames - they just can't contain null or '/'. So if
you run Subversion in the UTF-8 locale, I think you will be unable to
access an accented filename created by a program operating in a
iso-8859-1 locale, since it would be an invalid UTF-8 sequence. (And
conversely, in the iso-8859-1 charset, it couldn't access some UTF-8
files.) I don't think that problem can be solved, short of redesigning
the Unix filesystem model to be charset-aware.

-- 
Scott Lamb
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 06:29:26 2002

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.