> Date: Wed, 19 Aug 2015 20:50:55 +0200 > From: "Andries E. Brouwer" <[email protected]> > Cc: "Andries E. Brouwer" <[email protected]>, [email protected], > [email protected] > > On Wed, Aug 19, 2015 at 09:46:04PM +0300, Eli Zaretskii wrote: > > > OK, but how is this different from what we'd get using your suggested > > 4 alternatives? > > What can I reply? Just read my letter again. > I think I said what I wanted to say.
OK, then let me explain my line of reasoning. Plain ASCII is valid UTF-8, and if converting with iconv assuming it's UTF-8 fails, you know it's not valid UTF-8. So the last 3 possibilities in your suggestion boil down to "try converting as if it were UTF-8, and if that fails, you know it's Unknown".
