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

Possible character encoding bug in svnlook

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2004-09-29 16:07:18 CEST

Hi folks,

svnlook log displays a strange behaviour on my SVN server. Depending on
the locale it displays different results than svn log. I've got a commit
message that contains a german special character 'ö'. Any other accented
character will display this bug as well.
I noticed this, because WebSVN which relies on svnlook, displays garbage
here.

I ssh'ed onto my server (SuSe 8.2, svn 1.1.0rc3) using Putty, which is
by default set to ISO-8859-1. 'svn log' and 'svnlook log' behave
different depending on the locale settings on the Linux box.

Results with terminal set to ISO-8859-1 and locale set to de_DE@euro:
svnlook log: Doppelte Datei auf dem Server gel?\246scht
svn log: Doppelte Datei auf dem Server gelöscht
In this case 'svn log' is correct and 'svnlook log' displays garbage.

Results with terminal set to utf-8 and locale set to de_DE.utf-8:
svnlook log: Doppelte Datei auf dem Server gelöscht
svn log: Doppelte Datei auf dem Server gelöscht
In this case both display the same (correct) utf-8 code for 'ö'.

Cheers
- Lübbe

--
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 29 16:07:45 2004

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.