On Friday, February 7, 2003, at 08:28 PM, Branko Èibej wrote:
> 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.
great. i'll commit the change.
thanks,
-garrett
---------------------------------------------------------------------
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:34:12 2003