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

git gui blame utf-8 bugs

From
Finn Arne Gangstad <finnag@pvv.org>
Date
Dec 12, 2007, 09:17 UTC
Message-ID
<20071212091744.GA5377@pvv.org>
git gui has some utf-8 bugs:

If you do git gui blame <file>, and the file contains utf-8 text, the lines are not parsed as utf-8, but seemingly as iso-8859-1 instead.

Also, the hovering comment is INITIALLY shown garbled (both Author and commit message), but if you click on a line, so that the commit message is shown in the bottom window, the hovering message is magically corrected to utf-8.

The text in the lower window (showing specific commits) seems to always be handled correctly.

To reproduce: Set your author name to include some utf-8 tokens, add a line with some utf-8 tokens to a file, commit it with a commit message including some utf-8 tokens, and do git gui blame on the file. The line will be garbled in the top window, and the hovering message will be garbled until you click on the line.

Verified with git-gui.git master
- Finn Arne
Next: Shawn O. Pearce
Message 1 of 4 in “git gui blame utf-8 bugs”
  1. Finn Arne GangstadDec 12, 2007
  2. Shawn O. PearceDec 14, 2007
  3. Jakub NarebskiDec 14, 2007
  4. Finn Arne GangstadDec 17, 2007

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.