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

Re: svn checkout - special characters in file name are not encoding properly

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 11 Aug 2010 13:51:18 +0200

On Wed, Aug 11, 2010 at 12:35:59PM +0200, Vincent Lefevre wrote:
> On 2010-08-11 11:11:25 +0200, Paul Ebermann wrote:
> > The thing is, users are using other tools than SVN to work with the
> > files, too.
> >
> > So if I look at my directory with a file manager, I want my
> > filenames to be readable (and renameable). The idea is that usually
> > the user uses for one working copy always the same locale for all
> > tools, so all filenames look same.
>
> Yes, and this is another reason why the solution chosen by Subversion
> doesn't work well. For instance, GNOME always uses UTF-8 for filename
> encoding.

You might as well argue that Subversion's solution works well but
GNOME's solution does not.

Because there is no standard, it's perfectly fine for tools to use
different conventions for this. As it is, users need to be aware of
these problems and configure their tools to use the right encodings.

> So, if the user uses ISO-8859-* locales (for shell sessions),
> one gets inconsistencies.

So don't use GNOME if you don't want your filenames encoded in UTF-8,
or don't use a non-UTF-8 locale when working with files you want to
use from GNOME. Problem solved.

Stefan
Received on 2010-08-11 13:52:03 CEST

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

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