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

Re: Check-out fails with LANG=C

From: Andreas Krey <a.krey_at_gmx.de>
Date: Tue, 9 Jul 2013 21:22:39 +0200

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
Received on 2013-07-09 21:23:20 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.