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

Re: Non Ascii chars in paths cause trouble

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2004-09-21 11:50:10 CEST

Hi Folks,

A month ago, I asked a question about non ascii chars in dumpfiles,
which caused problems when displaying them. Now I'm up the proverbial
creek without the proverbial paddle, because I'm trying to migrate old
repositories to a 1.1 server to be prepared when 1.1 is released.

The problem is: "My German characters are scrambled"

Source system:
- Suse Linux 8
- Subversion 0.32.1
- BerkeleyDB 4.0.14
- commits made by several clients (mostly TortoiseSVN) built against svn
versions ranging from pre 0.32 to 1.1.0.rc3

Target system:
- Suse Linux 9
- Subversion 1.1.0RC3
- BerkeleyDB 4.2.52

On the source system:
Attached is a snippet of the created dumpfile copied from vi. As you can
see, the Umlaut 'ö'='oe' in the log message "Böse Welt, ob das gut geht"
is scrambled, but the characters in Node-path: tags/Umlautname_Ä_Ö_Ü
look 'proper'.

'svnlook log -r40' displays the log message properly
'svnlook changed -r40' fails with the following error:
svn: Invalid argument
svn: failure during string recoding
Checking out the tags fails with an 'in

---SNIP---
Revision-number: 40
Prop-content-length: 129
Content-length: 129

K 7
svn:log
V 28
Böse Welt, ob das gut geht?
K 10
svn:author
V 6
lonken
K 8
svn:date
V 27
2004-09-21T08:47:15.616600Z
PROPS-END

Node-path: tags/Umlautname_Ä_Ö_Ü
Node-kind: dir
Node-action: add
Node-copyfrom-rev: 37
Node-copyfrom-path: trunk
---SNIP---

On the target system:
When I scp this this dumpfile to the target system and load it, all the
Umlauts are gone.

'svnlook log -r40 repository/testrepos/'
B?\246se Welt, ob das gut geht?
'svnlook changed -r40 repository/testrepos/'
A tags/Umlautname_?\196_?\214_?\220/

I'm afraid that something is going terribly wrong here, that the 0.32.1
dumpfile isn't utf-8 or something like that. How can I migrate my
repositories?

Cheers & thanks
- 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 Tue Sep 21 11:50:32 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.