[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: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-05-09 11:52:20 CEST

On Mon, 9 May 2005, Vincent Lefevre wrote:

> On 2005-05-08 23:09:40 -0400, Greg Hudson wrote:
> > That means if I save a file with gedit, it won't appear correctly in
> > "ls" if I'm not using a UTF-8 locale.
>
> Well, the problem with ls is already true when one uses different
> locales (in particular in a multi-user environment). Using a
> wrapper for ls (and other such utilities) may be an interesting
> solution.
>
> Now, for ls, this isn't much a problem: non-ASCII characters are
> just displayed in an incorrect way. But with Subversion, this is
> much more a problem since it thinks that the filenames have changed
> (unless this has been improved recently) if the user uses different
> locales; this is not just a display problem.

I don't understand how making the encoding configurable solves this
problem.

>
> > That may be acceptable to GNOME, which doesn't care so much about
> > the command line, but it's not so good for Subversion.
>
> Some users may think that it is better, in particular those who use
> both GNOME and Subversion. So, it could be configurable.
>
Why don't GNOME users use an UTF8 locale? Then standard system tools will
work as expected (assuming they're locale-aware). If the users get files
with some other encoding (say in a tar file), they have to use some tool
to fix that. I don't think svn should be that tool.

Best,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 9 11:45:11 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.