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

Re: Encoding problems in subversion under Mac OS X (HFS+)

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2005-12-06 16:48:41 CET

Plese do not top-post ( http://en.wikipedia.org/wiki/Top-posting )

Balázs Szabó (dLux) wrote:
> Hi Guys,
>
> I really can't believe this thing can happen: why subversion uses
> unicode filenames if it cannot handle such a common thing as a Mac OS X
> default filesystem.
Not _that_ common I guess.

> I understand that OSX is a weird Unix in many aspects...
you said it.

> Please someone just tell me what the heck I can do with this problem:
> is it solvable easily? Is there any patch I can apply? Or just forget
> using accents in the filenames? Or I am doing something wrong and it
> works file for everyone else?

First tell us what your locale settings are?
In a shell execute locale.

For example, on my systems:
$ locale
LANG=en
LC_CTYPE=ja_JP.UTF-8
LC_NUMERIC=C
LC_TIME=C
LC_COLLATE=ja_JP.UTF-8
LC_MONETARY=ja_JP.UTF-8
LC_MESSAGES=C
LC_PAPER=C
LC_NAME=C
LC_ADDRESS=C
LC_TELEPHONE=C
LC_MEASUREMENT=C
LC_IDENTIFICATION=C
LC_ALL=

As you see, LANG=en is good to work in English.
{LC_CTYPE,LC_COLLATE,LC_MONETARY}=language_COUNTRY.UTF-8 (I need the japanese locale for some input
methods)

First try with LANG="en_US.UTF-8".

Next, check if you have actually these locales installed. In a normal *nix system these should be
like /usr/share/locale/language_COUNTRY.UTF-8 not sure about Mac OS X... You need the actual
definitions in some files.
For more info (Gentoo specific) see:
http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3

Google hit this:
http://maczealots.com/tutorials/xcode-svn/
http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 6 17:02:35 2005

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