From: Ismail Donmez Date: Fri, 18 Nov 2005 20:08:22 GMT Subject: Re: Rss produced by git is not valid xml? Message-ID: <200511182208.24248.ismail@uludag.org.tr> In-Reply-To: <20051118200217.GA2831@vrfy.org> On Friday 18 November 2005 22:02, you wrote: > On Fri, Nov 18, 2005 at 09:27:06PM +0200, Ismail Donmez wrote: > > On Friday 18 November 2005 19:26, you wrote: > > > On Friday 18 November 2005 18:33, you wrote: > > > > Hi all, > > > > > > > > I am trying to parse git's rss feed and now xml parsers seems to > > > > choke on it because of an error in the produced feed. Looking at > > > > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git; > > > >a=rs s > > > > > > > > line 781 says : > > > > > > > > On Thu, 17 Nov 2005, David G\363mez wrote:
> > > > > > > > which is part of the commit : > > > > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git; > > > >a=co mm it;h=05b8b0fafd4cac75d205ecd5ad40992e2cc5934d > > > > > > Ok looks like this text is latin-1 encoded although xml is served as > > > utf-8. > > > > Any comments on this? > > Yes, convince the git maintainers, that it's incredibly stupid not to > enforce utf8 in commit messages. It makes absolutely zero sense in a > SCM, which merges forth and back between people around the world to > allow random encodings from the last century. > I totally agree, utf8 should be default else the produced XML is wrong. Its advertised as utf-8 but the content is latin1. > With the next round of gitweb, I will substitute these caracters with > valid utf8, which will show up as invalid chars. When should we expect this? Currently I can't parse commit feed without encoding to utf8 first. > And git guys, please start to think again about your insane options, > that cause more harm than anything good. Can git maintainer(s) comment on this please? Regards, ismail