From: Pratyush Yadav Date: Thu, 05 Dec 2019 20:50:52 GMT Subject: Re: [PATCH] gitk branch name encoding utf-8 probrem Message-ID: <20191205205052.aaw4q57y2hlzghgd@yadavpratyush.com> In-Reply-To: Hi 加藤一博, On 05/12/19 12:28PM, Junio C Hamano wrote: > 加藤一博 writes: > > > fix branch name encoding error on gitk. > > > > git checkout -b '漢字' > > gitk show branch name broken like this '貍「蟄' > > fix this problem. > > Paul (the gitk maintainer), the patch text itself does look > reasonable. > > After "git checkout -b '漢字'" to create a branch with UTF-8 > character in it, "gitk" shows the branch name incorrectly, as it > forgets to turns the bytes read from the "git show-ref" command > into Unicode characters. This commit message would work for the git-gui patch as well (change "gitk" to "git-gui"). > is how I would phrase the log message. > > Thanks. -- Regards, Pratyush Yadav