[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: Jim Correia <jim.correia_at_pobox.com>
Date: 2004-03-26 04:33:20 CET

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 26 04:33:55 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.