[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: Colin Watson <cjwatson_at_flatline.org.uk>
Date: 2003-11-24 17:17:58 CET

On Mon, Nov 24, 2003 at 03:27:52PM -0000, Dale Peakall wrote:
> 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.

It would be kind of nice if there were an LC_FILENAME component in the
locale. I'd like to be able to say "all my filenames are in UTF-8,
regardless", and vary the other components depending on what I'm doing,
in the same way as I have LC_COLLATE always set to C to avoid the
"problem" whereby 'ls' interleaves upper-case and lower-case filenames
in directory listings in the normal en_GB.UTF-8 collation ordering. I'm
increasingly trying to move over to UTF-8 but still have a few
applications which work better in ISO-8859-1; however, I definitely
don't want this to affect the filename encoding in my Subversion working
copies.

In the absence of such a locale component, I do feel that an *optional*
piece of Subversion configuration would be useful to achieve this end.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 24 17:19:43 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.