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

Andrey Korobkov bugs at darcs.net
Mon Jul 13 22:34:09 UTC 2020


New submission from Andrey Korobkov <alster at vinterdalen.se>:

When converting git repo containing cyrillic characters in filenames                                                                   
and/or patch names into darcs repo these characters looks like double                                                                  
encoded.                                                                                                                               
                                                                                                                                       
Tested with default version from ports tree:                                                                                           
% darcs --exact-version                                                                                                                
darcs compiled on May 15 2020, at 04:54:49                                                                                             
                                                                                                                                       
Weak Hash: not available                                                                                                               
                                                                                                                                       
Context:                                                                                                                               
                                                                                                                                       
[TAG 2.14.2                                                                                                                            
Ganesh Sittampalam <ganesh at earth.li>**20190126112346                                                                                   
 Ignore-this: 5c94e042fbcfdf311008d6e980d9cf1d                                                                                         
]                                                                                                                                      
                                                                                                                                       
And also with custom repo:https://urchin.earth.li/darcs/ganesh/temp/darcs-import-utf8-hack

patch a089edf27367f5698dad15ed20d28dd803fb156a                                                                                         
Author: Ganesh Sittampalam <ganesh at earth.li>                                                                                           
Date:   Wed Jun 10 01:58:21 +04 2020                                                                                                   
  * TEST: assume imported patch metadata is UTF8 not Char8                                                                             
                                                                                                                                       
                                                                                                                                       
Running on FreeBSD 12.1

----------
messages: 22144
nosy: korobkov
priority: bug
status: needs-testcase
title: `darcs convert import` double-encodes cyrillic characters in UTF-8 input stream

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2648>
__________________________________


More information about the darcs-devel mailing list