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

Re: [svn] Recode problem

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2005-05-10 01:13:31 CEST

On 2005-05-09 11:46:33 +0200, Peter N. Lundblad wrote:
> The POSIX way of making filename encoding locale-dependent is
> fundamentally broken IMO.

AFAIK, POSIX just says that a filename is a sequence of bytes, which
is just as bad, since humans work with characters, not bytes.

> But I don't think each tool can solve a system problem. On POSIX
> systems, I think the best solution is to rely on the locale like we
> currently do. People should set up their locale correctly and ensure
> that filenames are in the encoding of the locale. Even if we make
> the filename encoding configuraable, it is easy to wind up with
> filenames with different encodings in the same WC.

Yes, but the user can probably fix that (for the new filenames).

Storing the encoding in the .svn directory allows the user to change
his locale from an application to another. Without that, one gets ugly
side effects, as shown in my previous mail. This is really specific to
Subversion.

-- 
Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 10 01:14:16 2005

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.