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

subversion files - character set problem

From: Hadmut Danisch <hadmut_at_danisch.de>
Date: 2006-08-31 23:23:49 CEST


I just ran into another problem:

Subversion gets into trouble if a file name contains non-ascii
characters, and the user changes the LC_CTYPE.

e.g. I had a file called 'Erklärung' . The machine where the
repository is checked out is remote managed, i.e. things happen over
ssh. ssh passes LC_CTYPE and LANG from the client to the server.

1. checkout while logged in from a host with UTF-8. subversion creates
   files with UTF-8 file names, especially


   with the 'ä' encoded in UTF-8.

2. I log in from a different host which does not support UTF-8, but
   ISO-8859-1. ssh passes this through in order to get readable text.

   When I then do a svn update this happens:

   The svn server tells the client the filename in UTF-8, but the
   client translates it into LC_CTYPE, i.e. ISO-8859-1. then the
   client tries to work with


   but then with 'ä' encoded in ISO-8859-1. Subversion therefore does
   not find the file and aborts with an error message, that it can't
   copy .svn/text-base/Erklärung.svn-base to
   .svn/tmp/text-base/Erklärung.svn-base.3.tmp : No such file or


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 23:25:46 2006

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.