[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: Joel <rees_at_ddcom.co.jp>
Date: 2005-01-19 09:17:50 CET

> 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.

--
Joel Rees   <rees@ddcom.co.jp>
digitcom, inc.   $B3t<02q<R%G%8%3%`(B
Kobe, Japan   +81-78-672-8800
** <http://www.ddcom.co.jp> **
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 19 09:20:09 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.