subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Krey <a.k...@gmx.de>
Subject Re: Check-out fails with LANG=C
Date Tue, 09 Jul 2013 19:22:39 GMT
On Tue, 09 Jul 2013 20:21:33 +0000, Branko ??ibej wrote:
...
> I posit that if the "native encoding" is supposed to be UTF-8, then it
> is an error to use LANG=C at all. Instead, one should use LANG=C.UTF-8.

No, using LANG etc. for the interface between svn and the disk mixes up
the setup for the UI and the disk interface. LANG tells the software
what language I want to use in the UI and how it should be encoded,
and is intended to be able to talk in different ways depending on what
terminal I use.

Tying the svn disk interface to that value is obviously tying this
property to the wrong object.

...
> So indeed, this state of affairs puts the burden of setting up their
> locale correctly on users, but that's simply the way Unix works.

No, it ain't. It's almost like the mailer looks into LANG to see
how to interpret the incoming mail, instead of using 'Charset:' etc.

Needing to do 'LANG=C svn info' to be able to grep for keywords
actually is the unix way, nowadays. en_us.utf8 is more appropriate
nowadays, howevery I can't remember how it's spelled.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800

Mime
View raw message