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

Ganesh Sittampalam ganesh at earth.li
Tue Jul 14 13:39:41 UTC 2020


On 14/07/2020 14:30, Ben Franksen wrote:
>> I've verified and guarantee, that provided cyrillic_input_stream file
>> contains common `git fast-export` UTF-8 encoded stream from valid git
>> repo, containing exactly one patch named 'Южноэфиопский грач увёл
>> мышь за хобот на съезд ящериц' with exactly one file with cyrillic
>> filename 'Панграмма.txt' with exactly one line of text 'Широкая
>> электрификация южных губерний даст мощный толчок подъёму сельского
>> хозяйства' and is valid for recreating exactly the same git repo by
>> piping it on `git fast-import`, which I twice tested manually (on
>> 2020-06-29, when creating the patch, and now).
> 
> Thanks. I think Ganesh's fix for the meta data is okay. However.

Just to clarify, that was intended as a very quick hack for Andrey to
try out, not a long-term patch. It might be correct long-term too but I
didn't think about it yet.

Ganesh


More information about the darcs-devel mailing list