[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: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Wed, 11 Aug 2010 16:29:56 +0200

On 2010-08-11 13:51:18 +0200, Stefan Sperling wrote:
> 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.

That's wrong. GNOME let's me to use any locale in shell sessions.
Subversion doesn't.

> > 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,

I meant: one gets inconsistencies between GNOME and Subversion.

> or don't use a non-UTF-8 locale when working with files you want to
> use from GNOME. Problem solved.

You're forcing the user to use a UTF-8 locale. Unacceptable.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Received on 2010-08-11 16:30:36 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.