git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git gui blame utf-8 bugs
@ 2007-12-12  9:17 Finn Arne Gangstad
  2007-12-14  6:47 ` Shawn O. Pearce
  0 siblings, 1 reply; 4+ messages in thread
From: Finn Arne Gangstad @ 2007-12-12  9:17 UTC (permalink / raw)
  To: git, spearce

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-17  7:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12  9:17 git gui blame utf-8 bugs Finn Arne Gangstad
2007-12-14  6:47 ` Shawn O. Pearce
2007-12-14 12:39   ` Jakub Narebski
2007-12-17  7:50     ` Finn Arne Gangstad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).