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

Re: Mac OS X: svn: cannot set locale

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-03-07 16:55:44 CET

Matt Kraai wrote:

>On Fri, Mar 07, 2003 at 09:34:27AM -0800, Ben Collins-Sussman wrote:
>
>
>>Lloyd D Budd <lloyd@foolswisdom.com> writes:
>>
>>
>>
>>>$ clients/cmdline/svn
>>>svn: error: cannot set the locale
>>>
>>>When I start 'Ximian Evolution' it works fine, but on std out:
>>> Gdk-WARNING **: locale not supported by C library
>>>
>>>
>>Does your C library not have the setlocale() function? It's a
>>standard C library function. What *is* your locale set to?
>>
>>
>
>setlocale was known to be broken on OS X[1].
>
>Matt
>
>1. http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgId=226877
>
>

yeah, but we changed our setlocale call to use LC_CTYPE, rather than
LC_ALL, so at least now it won't fail ALL the time. unfortunately,
judging from Lloyd's email it is pickier than one would like about what
your LANG environment variable is set to.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 7 16:56:26 2003

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.