[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: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-24 22:59:32 CET

On Mar 24, 2007, at 12:36, <svn.users@salvisberg.com>
<svn.users@salvisberg.com> wrote:

> I run a Drupal CMS (written in PHP) on a SuSE Server under Apache,
> and one of the users has uploaded a file which causes svn 1.4.3 to
> choke:
> svn: Can't convert string from native encoding to 'UTF-8':
> svn: Kurs Ern?\195?\164hrung.doc
> ls shows the file name as
> Kurs Ern??hrung.doc
> The file name should be "Kurs Ernährung.doc", and it probably
> orginated from Windows.
> PHP may have messed up this one, but the file is there, and it's
> fully accessible in Drupal. The filename displays correctly on the
> web page (charset=utf-8), and the file can be downloaded.
> I haven't tried adding it to the repository yet, the error appears
> when doing
> svn st
> Is there a way to help svn to accept this file?

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.)

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 24 23:00:00 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.