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

"Safe data was followed by non-ASCII byte ..." and other UTF-8 trouble

From: Carsten Fuchs <CarstenFuchs_at_T-Online.de>
Date: 2006-03-17 18:15:13 CET

Hello all,

I'm using the svn command-line client version 1.3.0 on a german-language
Windows 2000 system, and experience several UTF-8 related problems:

a) All svn output that contains special characters (e.g. german Umlauts)
is printed with UTF-8 escape sequences, e.g. if I enter "svn --version",
the output is

     svn, Version 1.3.0 (r17949)
        ?\195?\188bersetzt Jan 15 2006, 23:18:48

instead of (hand-corrected)

     svn, Version 1.3.0 (r17949)
        Übersetzt Jan 15 2006, 23:18:48

(the first letter in the second line should be a "U" with two dots above
it).

b) Whenever a non-ASCII character occurs, either in a file-name, in the
contents of a file(!), etc., svn aborts with the error message:

      svn: Auf sichere Daten ... folgte ein nicht-ASCII Byte 195, das
nicht von/nach UTF-8 konvertiert werden konnte

Translated: "svn: Safe data ... was followed by non-ASCII byte 195:
unable to convert to/from UTF-8

For example, "svn diff" aborts with this message when one of the changed
files contains a UTF-8 character!

--> What can I do to fix this? Especially b) is a serious problem for
me. I've searched the mailing-list archives in this regard and found
several suggestions to set one of the LANG environment variables, but
I've not been able to solve the problem in spite of extensive tests.

Any help would much be appreciated!
Thank you very much!

Best regards,
Carsten

-- 
Ca3D - Engine    http://www.Ca3D-Engine.de
Carsten Fuchs    http://www.Ca3D-Engine.de/c_Carsten.php
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 17 18:17:02 2006

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