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

Another non-UTF8 filename issue

From: Hans Salvisberg <svn.dev_at_salvisberg.com>
Date: 2007-03-21 18:49:03 CET

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. I haven't tried adding it to the repository yet, the error appears when doing

  svn st

The filename displays correctly on the web page (charset=utf-8), and the file can be downloaded.

Hans

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 21 18:49:19 2007

This is an archived mail posted to the Subversion Dev mailing list.

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