Re: [PATCH v3] git-gui: Prevent double UTF-8 conversion
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 7, 2017, 00:06 UTC
- Message-ID
- <alpine.DEB.2.21.1.1712070106160.98586@virtualbox>
- In-Reply-To
- <20171205142326.6140-1-l.stelmach@samsung.com>
Hi Łukasz,
On Tue, 5 Dec 2017, Łukasz Stelmach wrote:
Show 9 quoted lines
> Convert author's name and e-mail address 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" in an amended commit. > > Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
This patch looks good to me.
Thanks, Johannes