[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: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2003-11-24 03:12:34 CET

On 2003-11-24 02:53+0100, Vincent Lefevre wrote:
> On 2003-11-24 01:16:16 +0000, Philip Martin wrote:
> > I used Gnumeric and put fooť into the File->Save... dialog
> >
> > $ LANG=en_GB gnumeric
> > $ ls | od -tx1 | head -1
> > 0000000 66 6f 6f e9 2e 67 6e 75 6d 65 72 69 63 0a
> >
> > That's 8859-1.
>
> I did the same thing, and got:
>
> $ \ls | od -tx1 | head -1
> 0000000 66 6f 6f c3 a9 2e 67 6e 75 6d 65 72 69 63 0a
>
> That's UTF-8.
>
> > Gnumeric behaves like Subversion.
>
> I've just shown that it doesn't.

$†LANG=en_GB gnumeric
$ ls foo* | od -tx1 | head -n 1
0000000 66 6f 6f e9 2e 67 6e 75 6d 65 72 69 63 0a

And I've just shown that it does. The score is 2-1.

If you are using a distro (RH8+ ?) that has a tweaked locale settings,
then live with it and don't claim that this unspecified behaviour
is a standard and subversion's deviation from it is "a bug".

If you like continue this debate, please bring references to ie. LSB [1] or
some POSIX standard that are saying that default file coding is
UTF-8 - in every case, despite locale settings.

BR, Jani

1) http://www.linuxbase.org/

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

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