From: Junio C Hamano Date: Tue, 25 Oct 2005 17:44:47 GMT Subject: Re: gitweb: charset problem Message-ID: <7v64rlfq40.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Daniel Barkalow writes: > It wouldn't be hard to convert at some point between the editor and the > commit object, and you don't re-edit the commit objects like you do > tracked files. It probably wouldn't even be hard for commit-tree to > convert its input based on locale. (And stuff which prints commit contents > for user consumption probably ought to re-encode it if necessary, too) Don't get me wrong. I am not opposed to giving preferential treatment to UTF-8 by supporting it better. I think it may be a good idea to have an *option* in commit-tree and mktag to convert from LC_CTYPE to utf-8, just like mailinfo does. I am just opposing to make UTF-8 mandatory.