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

Re: Problem when loading a dump file with filenames including swedish characters

From: <kfogel_at_collab.net>
Date: 2003-12-18 17:14:40 CET

Hmmm... What is your locale? (Just curious, I think we'll want to
file an issue here in any case.)

Folks, am I right to think that the dumpfile should be using UTF8, and
'svnadmin load' should be expecting UTF8, and his locale shouldn't
matter a whit?

-Karl

David Larsson <david.larsson@benima.se> writes:
> I created a dump file from CVS on a linux machine (cvs2svn). Then I
> try to import that dump file on a windows machine with subversion
> (version 0.34). The svnadmin load works OK, but it corrupts the
> swedish characters in the filename. If I later browse the repository
> via http, it works and I can look at the file but the filename looks
> like shit. The command line svn tool on the other hand can't handle
> these filenames in any way, so I can't rename or delete them in the
> repository.
>
> When i write "svn list http://localhost/svn/TestCVS/trunk", the svn
> client says:
> svn: Invalid argument
> svn: Safe data:
> "TestFileWith"
> ... was followed by non-ascii byte 229.
>
> Non-ascii character detected (see above), and unable to convert
> to/from UTF-8.
>
>
> I created a really small dump file from a CVS repos with just one file
> (with my swedish characters), if some of you want to recreate the
> problem. The file is attached as well as pasted below.
>
> Thanks for a really great product!
> Regards
> David
>
> ---BEGIN---
> SVN-fs-dump-format-version: 2
>
> UUID: ????????-????-????-????-????????????
>
> Revision-number: 1
> Prop-content-length: 136
> Content-length: 136
>
> K 7
> svn:log
> V 33
> Uppdaterad med septembersupport.
>
> K 10
> svn:author
> V 8
> bmolpeno
> K 8
> svn:date
> V 27
> 2003-12-18T11:49:12.000000Z
> PROPS-END
>
> Node-path: trunk
> Node-kind: dir
> Node-action: add
> Prop-content-length: 10
> Content-length: 10
>
> PROPS-END
>
>
> Node-path: trunk/TestFileWith.txt
> Node-kind: file
> Node-action: add
> Prop-content-length: 10
> Text-content-length: 30
> Text-content-md5: 4e643efabb990d79fb2211c8c561dbac
> Content-length: 40
>
> PROPS-END
> Test file
>
>
> End of file.
> ---END---
>
>
> SVN-fs-dump-format-version: 2
>
> UUID: ????????-????-????-????-????????????
>
> Revision-number: 1
> Prop-content-length: 136
> Content-length: 136
>
> K 7
> svn:log
> V 33
> Uppdaterad med septembersupport.
>
> K 10
> svn:author
> V 8
> bmolpeno
> K 8
> svn:date
> V 27
> 2003-12-18T11:49:12.000000Z
> PROPS-END
>
> Node-path: trunk
> Node-kind: dir
> Node-action: add
> Prop-content-length: 10
> Content-length: 10
>
> PROPS-END
>
>
> Node-path: trunk/TestFileWith.txt
> Node-kind: file
> Node-action: add
> Prop-content-length: 10
> Text-content-length: 30
> Text-content-md5: 4e643efabb990d79fb2211c8c561dbac
> Content-length: 40
>
> PROPS-END
> Test file
>
>
> End of file.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 18 18:04:24 2003

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.