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 <vinc...@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)