From: Kay Sievers Date: Sun, 27 Nov 2005 16:18:18 GMT Subject: Re: Rss produced by git is not valid xml? Message-ID: <20051127161818.GA16351@vrfy.org> In-Reply-To: <7vfypioi83.fsf@assigned-by-dhcp.cox.net> On Sat, Nov 26, 2005 at 07:57:48PM -0800, Junio C Hamano wrote: > Kay Sievers writes: > > On Sat, Nov 19, 2005 at 09:52:34AM -0800, Linus Torvalds wrote: > >> On Sat, 19 Nov 2005, Junio C Hamano wrote: > >> > > >> > Well, some people on the list seem to think UTF-8 is the one and > >> > only right encoding, so for them if the message does not > >> > identify what it is in, assuming UTF-8 and not doing any > >> > conversion is probably the right thing ;-). > >> > >> If you replace "assume" with "verify", then I agree. > > I found some test code I did a while ago for validation of > > filesystem labels, cause D-BUS diconnects your session, if you > > send an invalid utf-8 string to the bus. :) > > Thanks. I take it that you are licensing this code to use in > git when we doing what Linus suggests? Sure, it's free to use under any version of the GPL git uses itself. Thanks, Kay