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

Re: chinese files names problem with os X

From: Victor Maurice Faubert <vicmf_at_concentric.net>
Date: 2004-03-29 13:48:05 CEST

At 10:50 +0000 2004-3-26, users-digest-help@subversion.tigris.org wrote:
>Mime-Version: 1.0 (Apple Message framework v613)
>Content-Type: text/plain; charset=US-ASCII; format=flowed; x-Spamnix=checked
>Message-Id: <5441F3EC-7ED6-11D8-B16A-000393D1E382@pobox.com>
>Content-Transfer-Encoding: 7bit
>Cc: users@subversion.tigris.org
>From: Jim Correia <jim.correia@pobox.com>
>Date: Thu, 25 Mar 2004 22:33:20 -0500
>To: Sean Moss-Pultz <sean@moss-pultz.com>
>Subject: Re: chinese files names problem with os X
>
>On Mar 25, 2004, at 9:39 PM, Sean Moss-Pultz wrote:
>
>>I'm using the command line client (v1.0) from
>>panther and connecting to Subversion 1.0
>>(Windows 2k Server). On my Desktop (XP) files
>>names with chinese characters can checkout with
>>no issues. But under my powerbook I get the
>>following error:
>>
>>subversion/libsvn_subr/utf.c:173: (apr_err=22)
>>svn: Can't recode string
>>
>>while trying to access a chinese named file.
>>
>>I googled and found this past message:
>>
>>http://www.contactor.se/~dast/svn/archive-2003-07/2049.shtml
>>
>>So I guess something is strange with my current
>>locale. But I'm confused because if I copy
>>files not under version control I have no
>>problems reading chinese characters.
>>
>>Any ideas?
>
>Mac OS X uses UTF-8 encoding for filenames in
>the BSD APIs. You should set your locale to
>UTF-8. (I'm using en_US.UTF-8 - you should use
>an appropriate variant...)
>
>Jim

How does one do this from the command line? I'm getting the same problem
with French file names containing é or the bullet character. I'd happily use
en_US.UTF-8, but I don't know how to specify it. "apropos locale" didn't seem
to turn up any way to override this and using Terminal's Window Settings to
change the encoding to UTF-8 didn't seem to help either, judging by an ls
display. What's the magic incantation? Any
pointers to where this is described
in man pages or other documents? Thanks.
                                                Vic

-- 
						Vic
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 29 13:48:54 2004

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.