You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Torsten Krah (Jira)" <ji...@apache.org> on 2021/08/31 22:42:00 UTC

[jira] [Commented] (SVN-3912) svnadmin load does fail to process dumps with non UTF-8 path names

    [ https://issues.apache.org/jira/browse/SVN-3912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17407711#comment-17407711 ] 

Torsten Krah commented on SVN-3912:
-----------------------------------

Using

 

{{svn, Version 1.13.0 (r1867053)}}

 

{{this is till a problem.}}

{{Tried it with that version and the error did not change:}}

 

{{svnadmin: E160005: Pfad \{U+00BB}Projektprofile/..., ?\C0?\A6).doc\{U+00AB} ist kein UTF-8}}

 

{{just to let you know.}}

> svnadmin load does fail to process dumps with non UTF-8 path names
> ------------------------------------------------------------------
>
>                 Key: SVN-3912
>                 URL: https://issues.apache.org/jira/browse/SVN-3912
>             Project: Subversion
>          Issue Type: Bug
>          Components: svnadmin
>    Affects Versions: 1.8.x
>         Environment: Linux
>            Reporter: Subversion Importer
>            Priority: Critical
>             Fix For: unscheduled
>
>
> {noformat:nopanel=true}
> I've got a dump from svn < 1.6 and there are revision with path names, which are
> not encoded in UTF-8.
> svn fails with:
> svnadmin: Path '...' is not in UTF-8.
> It seems to be a rare problem, but some svn clients did not correctly encode
> path names in UTF-8 and svn < 1.6 did accept those revisions.
> The only known workaround yet is to take a (hex)editor and find and replace
> those failing revisions.
> This is hard to do on "big" dumps and i don't know how many failing path names
> my dump got ... may be a neverending story perhaps if there are many "incorrect"
> revisions.
> It would be good if svnadmin or some other tool can provide some options to do
> the recoding automatically by replacing those chars with a "best" guess or some
> default value (may have to be provided by the user), to be able to load such
> dumps without having to edit it via editor.
> {noformat}
> http://mail-archives.apache.org/mod_mbox/subversion-users/201105.mbox/%3C1306787230.3923.4.camel@sf045%3E
> Original issue reported by *tkrah*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)