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

Re: svn commit: rev 4739 - in trunk/subversion: svnadmin svnlook clients clients/cmdline tests/libsvn_subr svnserve svnversion

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-02-08 02:28:25 CET

Garrett Rooney wrote:

> On Friday, February 7, 2003, at 08:17 PM, Branko Čibej wrote:
>
>> Garrett Rooney wrote:
>>
>>> well, the fact that this code makes svn fail to function on mac os x
>>> is a little more concerning to me... would anyone object to me
>>> removing the error checking around the setlocale call like it was
>>> before? as far as i can tell there is no way to get 'setlocale
>>> (LC_ALL, "")' to work there, and as a number of our developers (and
>>> users) use that operating system, i'd prefer to 'fix' it soon.
>>
>>
>> How about changing LC_ALL to LC_CTYPE? IIRC, you said that is supposed
>> to work even on Mac OS X. IF you just remove the error checking, then
>> the UTF-8 conversion has no chance of working on that OS.
>
>
> that works fine. will setting LC_CTYPE accomplish what the utf8 code
> needs?

It should; APR uses nl_langinfo to guess the native character encoding
on Unix, see http://www.sensi.org/~alec/man/man3/nl_langinfo.html and
http://www.sensi.org/~alec/man/man_h/langinfo.html.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 8 02:29:05 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.