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

Re: svn checkout - special characters in file name are not encoding properly

From: Vincent Lefevre <vincent-svn_at_vinc17.net>
Date: Fri, 13 Aug 2010 13:23:29 +0200

On 2010-08-13 09:47:37 +0200, Alexander Skwar wrote:
> Well, if you want or need to parse the output of a program,
> you'll need to make sure that it's in the "correct" locale. The
> way to do that, is by setting the locale variables to the expected
> values. Thus, it's totally correct to set LC_CTYPE to some
> predefined value. Omiting this is just plain wrong. You're suggesting
> that this should be omitted.

No, I'm not suggesting that it should be omitted. The environment
variables should be set *only* if the output is captured. So, it must
be done only in the script that will call svn, not by definining some
general svn wrapper.

Moreover, for portabability reasons, only C or POSIX is guaranteed
to work. In particular, "en_US.<preferred charset>" (what has been
suggested) is incorrect on Maemo 4, where only en_US exists. But
svn will not use UTF-8 with the C/POSIX locale.

So, really, svn should provide an option that will select a UTF-8
locale.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Received on 2010-08-13 13:24:10 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.