You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lars Gehrken <LG...@intersoft.de> on 2006/06/19 07:33:39 UTC

German umlaut in path. (svn: Safe data 'Index: t' was followed by non-ASCII byte 195: unable to convert to/from UTF-8)

Hello,

since our migration to SVN I'm in trouble with german umlauts in 
filenamess under control.

I try to analyse the troubel and finde out that it has some thing to do 
with the locales and (apr)iconv.

This seems to be the same problem as dicussed in here:
 http://svn.haxx.se/users/archive-2006-03/0842.shtml

But I fond no solution to my problem.  So i try to describe it here:

I'm using SVN on an Linux i568 with locales = de_DE. It serves via Apache 
module and is Version 1.3.0.
In the reposetory is an file /trunk/tülü.txt. This was added in Revision 
10.

When I run this command on the server all works fine.
svn diff -r 9:11 http://server/repos/trunk

Runing it on my Windows XP with Version 1.3.0 or 1.3.2 i got this:
svn: Auf sichere Daten 'Index: t' folgte ein nicht-ASCII Byte 195, das 
nicht von /nach UTF-8 konvertiert werden konnte (Same in german as in the 
subject)

This I can fix by replacing the libapriconv.dll from the windows bundel 
with the one delivered by TortoiseSVN or bei setting APR_ICONV_PATH to 
c:\program files\subversion\iconv as discussed here 
http://svn.haxx.se/dev/archive-2003-02/1405.shtml 
Than all works fine from the commandline

With javahl on windows, only the the first soluttion works.

On my SVN Server Linux i586 with Locale = de_DE and iconv (GNU libc 2.3.5) 
the comandline diff works fine.
But using the javahl Lib I get this:
Das Argument ist ungültig
svn: Auf gültige UTF-8 Daten
(hex: 0a 45 69 67 65 6e 73 63 68 61 66 74 73)
folgte ein ungültige UTF-8 Sequenz
(hex: e4 6e 64 65)

And finaly on our HPUX with locale de_DE.iso885915@euro and iconv (GNU 
libiconv 1.9). Neither the comandline nor the javahl works. 

Can any one give me a hint to solve my problem?

thanks 
Lars Gehrken
intersoft AG, Hamburg
mailto:LGehrken@intersoft.de
http://www.intersoft.de
Fon: +49(40)80 81 08-226
Fax: +49(40)80 81 08-141