git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitk branch name encoding utf-8 probrem

From
Pratyush Yadav <me@yadavpratyush.com>
Date
Dec 5, 2019, 20:50 UTC
Message-ID
<20191205205052.aaw4q57y2hlzghgd@yadavpratyush.com>
In-Reply-To
<xmqqimmuzfe1.fsf@gitster-ct.c.googlers.com>
Hi 加藤一博,
On 05/12/19 12:28PM, Junio C Hamano wrote:
Show 15 quoted lines
> 加藤一博 <kato-k@ksysllc.co.jp> 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
Previous: Pratyush Yadav
Message 6 of 6 in “gitk branch name encoding utf-8 probrem”
  1. gitk branch name encoding utf-8 probrem加藤一博, Dec 4, 2019
  2. Jonathan NiederDec 4, 2019
  3. gitk branch name encoding utf-8 probrem加藤一博, Dec 5, 2019
  4. Junio C HamanoDec 5, 2019
  5. Pratyush YadavDec 5, 2019
  6. Pratyush YadavDec 5, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.