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

Re: svn commit: r23305 - trunk/contrib/client-side

From: Peter Lundblad <plundblad_at_google.com>
Date: 2007-01-31 09:11:27 CET

David James writes:
> On 1/30/07, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> > On Tue, Jan 30, 2007 at 02:31:59PM -0800, dlr@tigris.org wrote:
> > > Fix svnmerge.py to work for those with non-English locales set in
> > > their environment.
> > >
> > > * contrib/client-side/svnmerge.py
> > > Set LC_ALL -- rather than LC_MESSAGES -- to C, as the Subversion
> > > command-line doesn't acknowledge LC_MESSAGES in svn_cmdline_init().
> > >
> >
> > Should it?
>
> Subversion does respect LC_MESSAGES, but it favours LC_ALL over
> LC_MESSAGES. This behaviour is correct AFAIK.
>
> On my machine, though, the output of 'svn help' looks fine when I set
> LC_ALL to pt_BR, but it is corrupted when I set LC_MESSAGES to pt_BR.
>
> Here's an example:
> If I set LC_MESSAGES:to pt_BR, the usage string is: "uso: svn
> <sub-comando> [op?\195?\167?\195?\181es] [args]"
> If I set LC_ALL to pt_BR, the usage string is: "uso: svn <sub-comando>
> [opções] [args]"
>
This is probably because you have inconsistent LC_MESSAGES and LC_CTYPE.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 31 09:11:56 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.