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

Re: git-gui messes up the diff view on non ASCII characters

From
Michele Ballabio <barra_cuda@katamail.com>
Date
Nov 9, 2007, 21:30 UTC
Message-ID
<200711092230.37905.barra_cuda@katamail.com>
In-Reply-To
<20071109154935.GC28800@xp.machine.xx>
On Friday 09 November 2007, Peter Baumann wrote:
Show 10 quoted lines
> I'm managing some UTF-8 encoded LaTeX files in git, which include some
> non ASCII characters like the german ä,ö and ü. If I view the diff with
> git-diff on an UTF8 enabled terminal, all looks nice. So does the diff
> view in gitk after I commited my changes. Only git-gui shows some
> "strange" characters, so I assume it is an encoding problem.
> 
> I have to admit that I'm totally unaware how this should work, but at
> least I think my configuration is correct here, because otherwise git-diff
> or gitk would show the same behaviour. Is there anything which could be
> done to make git-gui happy, too?

It's a known issue, and already on Shawn's ToDo list. I have to add that viewing untracked UTF8 files in git-gui works just fine. Weird.

Previous: Peter BaumannNext: Shawn O. Pearce
Message 2 of 4 in “git-gui messes up the diff view on non ASCII characters”
  1. Peter BaumannNov 9, 2007
  2. Michele BallabioNov 9, 2007
  3. Shawn O. PearceNov 11, 2007
  4. Johannes SchindelinNov 11, 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.