On Tue, Jul 09, 2013 at 09:22:39PM +0200, Andreas Krey wrote:
> 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.
LANG implies LC_CTYPE, if not set. svn prefers LC_CTYPE over LANG.
LC_CTYPE defines parts of the C runtime behaviour.
It's not a UI knob the user sets willy-nilly.
There is no standardized way of figuring out filename encoding on UNIX,
unfortunately. Subversion has chosen one way of working around that by
looking at locale configuration. The other workaround is to always use
UTF-8 and hope users and other applications can cope with that.
I think using UTF-8 by default would be a good choice today. But it
certainly wasn't when the Subversion project was started years ago.
And we cannot change the existing default behaviour now. That would
create compatibility nightmares with existing working copies.
I don't really understand what kind of answers you are hoping to get.
Are you actually proposing that we change something in Subversion,
or are you arguing out of spite?
Received on 2013-07-09 21:44:24 CEST