Re: [PATCH v2] git-gui: Prevent double UTF-8 conversion

2017-12-04 Thread Johannes Schindelin
Hi Łukasz, On Sat, 2 Dec 2017, Łukasz Stelmach wrote: > Convert author's name from the UTF-8 (or any other) encoding in > load_last_commit function the same way commit message is converted. > > Amending commits in git-gui without such conversion breaks UTF-8 > strings. For example,

[PATCH v2] git-gui: Prevent double UTF-8 conversion

2017-12-02 Thread Łukasz Stelmach
Convert author's name from the UTF-8 (or any other) encoding in load_last_commit function the same way commit message is converted. Amending commits in git-gui without such conversion breaks UTF-8 strings. For example, "\305\201ukasz" (as written by git cat-file) becomes "\303\205\302\201ukasz"