Re: [PATCH] gitk: UTF-8 support
- From
- Pavel Roskin <proski@gnu.org>
- Date
- Nov 28, 2005, 21:55 UTC
- Message-ID
- <1133214958.27750.8.camel@dv>
- In-Reply-To
- <7vr7917hq4.fsf@assigned-by-dhcp.cox.net>
On Sun, 2005-11-27 at 16:12 -0800, Junio C Hamano wrote:
Show 6 quoted lines
> The following patch on top of your patch has seen only very > light testing, but it seems to do the right thing for my > repository with utf-8 commit messages and another with euc-jp > commit messages. For the latter, I needed to do: > > $ git-repo-config i18n.commitencoding euc-jp
Thank you! I'm glad my code was actually useful.
Now we may want to make git recode commit data to the repository encoding. Lots of iconv/glibc/portability fun on the horizon. At very least git should protest if both i18n.commitencoding and the locale encoding are set to different values.
Another issue is support for non-ASCII characters in the filenames.
-- Regards, Pavel Roskin