Thread (34 messages) flat view 34 messages, 7 authors, 2016-06-15

Re: Rss produced by git is not valid xml?

From: Ismail Donmez <hidden>
Date: 2016-06-15 22:42:12

On Friday 18 November 2005 22:02, you wrote:
On Fri, Nov 18, 2005 at 09:27:06PM +0200, Ismail Donmez wrote:
quoted
On Friday 18 November 2005 19:26, you wrote:
quoted
On Friday 18 November 2005 18:33, you wrote:
quoted
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:<br/>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help