[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: Sascha Kratky <kratky-list_at_unisoftwareplus.com>
Date: 2006-04-21 20:05:13 CEST

Ryan,

I didn't have the environment variable $LANG set. I followed your
suggestion an added the LANG=en_US.UTF-8 setting.
I can now check out the file from the subversion repository, but when
I run "svn status" in the directory where the files resides I get:

? Wien 05_12_19 - ÖVG.doc
! Wien 05_12_19 - ÖVG.doc

The file is reported as both "not under version control" and
"missing". How can that be?

Thanks,
Sascha

On 21.04.2006, at 19:18, Ryan Schmidt wrote:

> 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 20:06:42 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.