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

Re: [Subclipse-users] Encoding in file name trouble

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-10-26 14:41:49 CEST

Emil Edeholt <emil@knmedical.se> wrote on 10/26/2006 06:32:28 AM:

> I have a file with non-ASCII characters in the file name and now (maybe
> when I switched svn server, not sure) the encoding was appearently
> messed up. I couldn't commit changes for the project with the file, when

> I try I get:
>
> Invalid argument
> svn: Can't convert string from 'UTF-8' to native encoding:
> svn:
>
/Users/myuser/Projects/workspace/myproject/.svn/props/a?\204?\136ndringar
> i skarpa my project 1.0.svn-work
>
> I don't really need the file so I tried to delete the file from the
> eclipse project. But it doesn't seem to help, I still get the error.
>
> The .svn/props directory contains no files, if that means anything to
you...
>
> Any ideas how I can get rid of the file from svn?
>
> Kinda annoying not being able to commit.

You should be able to delete the file in the SVN Repositories view, and
then run Team -> Update.

If it cannot convert the filename encoding to UTF-8, that implies that
your locale is not set correctly, so Subversion usage of iconv cannot
work. You do not say which client adapter you are using, but you could
try switching it. I'd assume that JavaSVN just leverages features of the
JRE for this.

For JavaHL, on Windows you need to have the APR_ICONV_PATH environment
variable defined. It does not look like you are on Windows. On Unix
operating systems, I think you have to have your locale settings set to a
value that support the file name. Some users set their locale to a UTF-8
locale to deal with this. I do not know much more, you'd want to ask on
the Subversion users@ list where more people would have dealt with this.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Oct 26 14:41:58 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.