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

Re: svn: Can't recode string

From: Michael Andreen <svn-harv_at_ruin.nu>
Date: 2004-04-13 02:33:20 CEST

On Tuesday 13 April 2004 01.43, Morten Brix Pedersen wrote:
> Hi,
>
> I am having a problem where svn can't check out a directory:
>
> mbp[komma]:~/tmp$ svn checkout file:///var/svn/mbphome/docs
> A docs/personligt
> svn: Can't recode string
>
> The problem seems to be a file called `udsættelse 1.sxw'. Apparently it
> is the non-ASCII character that is causing trouble.
>
> I am suspecting this has something to do with the fact that the filename
> is in UTF-8. Because after switching to a UTF-8 locale, I can do the
> check out just fine.
>
> Is this a known issue? What can I do?

It's a known issue, I had the same problem with some swedish characters. All
the filenames are stored as unicode in the repository and when you check out
the files the locale you are running need to have support for all the
characters in the file name.

Setting LC_CTYPE to da_DK should be enough for you, if you don't want to run
UTF-8.

/Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 13 02:33:48 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.