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

Re: UTF-8 conversion error

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-21 19:18:09 CEST

On Apr 21, 2006, at 17:51, Sascha Kratky wrote:

> I am using svn 1.3.1 under OS X 10.4.6. Upon running "svn update" I
> get the following error message:
>
> subversion/libsvn_subr/utf.c:466: (apr_err=22)
> svn: Can't convert string from 'UTF-8' to native encoding:
> subversion/libsvn_subr/utf.c:464: (apr_err=22)
> svn: Protokolle/Wien 05_12_19 - ?\195?\150VG.doc
>
> The Word document had been added by a user running Windows XP.
>
> How can I fix the document's name so that "svn update" succeeds?

I don't think the document's name is broken, I think Subversion just
doesn't know what your local encoding is. Have you set the $LANG
variable? For example, I have this in my ~/.bashrc on my Mac OS X
10.4.6 machine:

        export LANG=en_US.ISO8859-1

And I also have my Terminal set to ISO-8859-1. If you use the default
UTF-8 Terminal encoding, you may prefer:

        export LANG=en_US.UTF-8

Listing the directory /usr/share/locale will show you what locale
choices are available to you on your system.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 21 19:19:36 2006

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.