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

Re: "Strange" characters in file names

From: Hans Salvisberg <svn.users_at_salvisberg.com>
Date: 2007-03-25 22:34:50 CEST

Thank you for your reply, Ryan!

Ryan Schmidt wrote:
>> svn: Can't convert string from native encoding to 'UTF-8':
>> svn: Kurs Ern?\195?\164hrung.doc
> Perhaps you have not set the LANG variable so ls and svn don't know how to properly display it. Try export LANG=de_DE.utf8 or whatever the correct value for your OS is. (The contents of the directory /usr/share/locale may tell you what the valid locales are on your system.)

Yes, indeed, this helped. ls still doesn't display the file properly (I don't really care), but svn doesn't complain anymore.

Can you explain (or point me to an explanation), what this does and why it's needed? I'd prefer not to set a locale (leave it at the default POSIX), because I don't want to introduce a bias towards German. This particular filename happens to be in German, but I'm sure someone will upload a file with a French name sooner or later.

The directory with the offending file has svn:ignore set to "*". I guess I'll just ignore the entire directory instead, but I wonder why svn looks at the files at all.

Hans

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 25 22:35:16 2007

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.