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

Re: svn: Can't recode string

From: Dave Camp <dave_at_thinbits.com>
Date: 2005-01-19 17:46:52 CET

On Jan 19, 2005, at 12:17 AM, Joel wrote:

>> A couple of people responded like the above... I need to set the
>> locale. So, I guess my follow up questions would be...
>>
>> 1) How do I set the locale? man locale doesn't yield anything terribly
>> useful.
>
> IIRC, Mac OS X still (panther) doesn't really implement the *nix
> locales.
> (Check for yourself, anyone who has a Linux or freeBSD box and a Mac OS
> X box to compare.)
>
> Anyway locale and language are environment variables.
>
>> 2) It's not obvious why this is even necessary. I thought subversion
>> was supposed to be unicode savvy? Assuming it stored the filename in
>> some Unicode encoding in the database (UTF-8, UTF-16, etc...) and my
>> OS
>> fully supports Unicode (Mac OS X uses Unicode everywhere and the HFS+
>> filesystem stores filenames in Unicode), why is there a problem? Can
>> someone enlighten me?
>
> Various applications need to be told what to expect. If the environment
> variables are not there, they fall back to default. In 10.2.8 shell, I
> just did a printenv, and I don't see any LOCALE or LANG.
>
> For LANG, it would be something like
>
> export LANG=en_US.UTF-8
>
> I think. If you're on Jaguar, or just like tcsh, you'll need setenv
> instead of export, I believe.
>
> Hmm. I don't see LOCALE set on my linux box, either.

For the record, this appears to have fixed the problem. For tcsh, the
setting would be:

setenv LANG en_US.UTF-8

Thanks for the help!

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 19 17:49:22 2005

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

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