Subject: Re: git gui blame utf-8 bugs

From: Finn Arne Gangstad <[email-masked]>
Date: Mon, 17 Dec 2007 08:50:51 +0100

On Fri, Dec 14, 2007 at 04:39:59AM -0800, Jakub Narebski wrote:
> "Shawn O. Pearce" <[email-masked]> writes:
> 
> > Finn Arne Gangstad <[email-masked]> 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