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

RE: Problems with accents in filenames

From: Dale Peakall <dale_at_peakall.com>
Date: 2003-11-24 16:27:52 CET

> On 2003-11-24 14:22:49 +0000, Philip Martin wrote:
> > Vincent Lefevre <vincent+svn@vinc17.org> writes:
> >
> > I note you avoided my question again:
> >
> > You keep avoiding my question. I have "foo\xe9" on disk.
> > I want to use "foo\xe9" as a filename. How do I do that
> > if you impose UTF-8?
>
> Only the user can answer and decide what to do. With a UTF-8
> encoding, you shouldn't have a "foo\xe9" filename. A solution
> is to convert it to UTF-8 (ROX-Filer can do that
> automatically, AFAIK).

You're completely missing the point. Subversion does not exist
in a vacuum. Other programs write files to disk and you need
to be able to cope with how they encode filenames.

Since there is NO STANDARD METHOD OF ENCODING FILE NAMES ON
UNIX, Subversion provides an effective method of allowing the
user to specify how his files are encoded on disk.

If all your filenames are encoded in UTF-8, set that in your
locale and be done with it.

GTK/Glib/KDE etc do not constitute a standard method of encoding
filenames. It's got to work with Emacs, Vi, and all the
command line tools 99% of which have never even heard of UTF-8
or any other character set.

        - Dale.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 24 16:51:41 2003

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.