From: Linus Torvalds Date: Sat, 19 Nov 2005 17:52:34 GMT Subject: Re: Rss produced by git is not valid xml? Message-ID: In-Reply-To: <7v7jb57wud.fsf@assigned-by-dhcp.cox.net> 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. It's pretty easy to verify whether something is valid utf-8 or not (not trivial - you have to also check the sequences for minimality, which adds a few extra tests, but it's certainly not complicated). And text with 8-bit latin1 is almost never valid utf-8. Linus