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

Re: git gui blame utf-8 bugs

From
Finn Arne Gangstad <finnag@pvv.org>
Date
Dec 17, 2007, 07:50 UTC
Message-ID
<20071217075050.GA9927@pvv.org>
In-Reply-To
<m3k5nhqwkn.fsf@roke.D-201>
On Fri, Dec 14, 2007 at 04:39:59AM -0800, Jakub Narebski wrote:
Show 13 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> 
> > Finn Arne Gangstad <finnag@pvv.org> wrote:
> > > git gui has some utf-8 bugs:
> > 
> > It has several.  :-)
> >  
> > > 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.
> > 
> > Right.  git-gui is keying off the environment setting for LANG, so I
> > guess its set to iso-8859-1 on your system but you are working with a
> > [...]

Setting LANG does not seem to have any effect at all (neiher for file contents, aurhor or commit messages).

LANG=en_US.UTF-8 git gui blame dir.c -> same LANG=utf-8 git gui blame dir.c -> same

- Finn Arne
Previous: Jakub Narebski
Message 4 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.