From: H. Peter Anvin Date: Sat, 19 Nov 2005 04:35:17 GMT Subject: Re: Rss produced by git is not valid xml? Message-ID: <437EAB85.7030506@zytor.com> In-Reply-To: <7v64qpco40.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > I just looked at the diff this commit introduces: > > e6bd23911efd0a2bd756c77d9e7ba6576eb739a1 > Documentation: asciidoc sources are utf-8 > > with gitk (BTW, I pulled from paulus today, so "master" branch > has the latest gitk) while my locale set to LC_CTYPE=en_US.utf8. > > Surprisingly, the diff to Documentation/git-pack-redundant.txt, > which changes Lukas' name originally incorrectly encoded in > iso-8859-1 to utf-8, was shown and both pre-image and post-image > lines are readable. > > I do not know how tcl/tk does it, but it is doing the right > thing. > Tcl/Tk assumes that anything that isn't valid UTF-8 is Latin-1. -hpa