From: Johannes Schindelin Date: Sun, 20 Nov 2005 04:13:11 GMT Subject: Re: Rss produced by git is not valid xml? Message-ID: In-Reply-To: Hi, On Sat, 19 Nov 2005, Linus Torvalds wrote: > (In Finnish/Swedish, the letter 'ä' is code \x00E4, which in UTF-8 is the > sequence \xA5\xC3. But you can't know if a text that has that sequence is > UTF-8, or if it's a strange two-character latin1 sequence of "Ã¥" > (character codes \x00A5 and \x00C3). > > But I can pretty much guarantee that most any _sane_ latin1 text will > obviously not be UTF-8, so in _practice_ you can definitely tell the two > apart. Thank you, Dscho