[darcs-devel] [issue2648] `darcs convert import` double-encodes cyrillic characters in UTF-8 input stream

Ben Franksen bugs at darcs.net
Tue Jul 14 08:20:32 UTC 2020

Ben Franksen <ben.franksen at online.de> added the comment:

Thanks for the bug report. The fix you propose assumes meta data in the
input stream is UTF8 encoded. Is that guaranteed by the git fast-import
file format? (It may be the safest bet to assume it is, even if git does
not guarantee it.)

I guess converting non-ASCII file paths will also fail for similar
reasons, so we need a similar fix for those.

BTW, your repo at

> https://urchin.earth.li/darcs/ganesh/temp/darcs-import-utf8-hack

has this patch:

patch fe2dd87f789dfa0f6f4bbbc65cc9953a68c1e552
Author: Ben Franksen <ben.franksen at online.de>
Date:   Mon Jan 27 20:23:54 CET 2020
  * fix file path encoding in convert export command

which has been obliterated from screened because it does not work on

Darcs bug tracker <bugs at darcs.net>

More information about the darcs-devel mailing list