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

Re: [BUG] Mojibake in git gui and gitk for certain unicode chars

From
TGTobias Getzner <tobias.getzner@gmx.de>
Date
Jan 22, 2015, 12:18 UTC
Message-ID
<1421929102.22955.3.camel@gmx.de>
In-Reply-To
<1421927001.11296.27.camel@gmx.de>
On Do, 2015-01-22 at 12:43 +0100, Tobias Getzner wrote:
Show 6 quoted lines
> Hello,
> 
> I’ve noticed git gui and gitk seem to have problems decoding certain
> unicode characters. E.g., when a commit contains the character «👍»
> (thumbs up sign; U+1F44D) in UTF-8 encoding, this character will show
> as «ðŸ‘» in gitk. 
> I’ve noticed a perhaps related glitch when the options in git gui is
> shown. My committer name contains the character «ß» (latin small letter
> sharp s; U+00DF). The text field in the options dialog displays this as
> «ÃŸ»,

I suppose that some of the mojibake characters in the message might have been stripped out of the message because they are control chars. So, «👍» was rendered as «ð\x9f\x91\x8d». «ß» was rendered as «Ã\x9f».

Previous: Tobias Getzner
Message 2 of 2 in “[BUG] Mojibake in git gui and gitk for certain unicode chars”
  1. Tobias GetznerJan 22, 2015
  2. Tobias GetznerJan 22, 2015

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.