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

Re: Evil UTF-8 Character in filename in repo causing issues on my wc

From: Andreas Krey <a.krey_at_gmx.de>
Date: Wed, 22 Jun 2011 19:09:22 +0200

On Wed, 22 Jun 2011 16:28:31 +0000, Stefan Sperling wrote:
...
> Subversion is internally converting path names from the native encoding

Except that LANG isn't *the* native encoding. It is at least debatable
whether it should be used to interpret file system name strings.
(And it's rather hacked, since it is 'LANGuage' and not encoding, even
though there are locales like en_us.utf8.)

In my opinion it would be saner nowadays to assume file names to
be in utf8 and warn if they are not, and use the setting in LANG
for console I/O only.

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-06-22 19:09:57 CEST

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