Hi,
On Fri, 30 Jan 2009, Geoffrey Thomas wrote:
From: Geoffrey Thomas <redacted>
git blame misaligns output if a author's name has a differing display width and
strlen; for instance, an accented Latin letter that takes two bytes to encode
will cause the rest of the line to be shifted to the left by one. To fix this,
use utf8_strwidth instead of strlen (and compute the padding ourselves, since
printf doesn't know about UTF-8).
Good point (even if your commit message has lines much longer than 72
chars, ASCII ones at that).
But how certain are you at that point that the authors are in UTF-8
format? IOW what encoding conversions were possibly performed up to that
point?
You might want to make it easier on possible reviewers by putting that
discussion into the commit message.
Ciao,
Dscho