From: Junio C Hamano Date: Sun, 27 Nov 2005 03:57:48 GMT Subject: Re: Rss produced by git is not valid xml? Message-ID: <7vfypioi83.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20051127025249.GA12286@vrfy.org> 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. One problem I have that approach is what to do if it does not verify. Reject and ask them to re-run the program with another option --binary-log-message? > 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. :) > > Kay Thanks. I take it that you are licensing this code to use in git when we doing what Linus suggests?