|
From: martin@v.loewis.de (M. v. Loewis) - 2002-07-01 20:26:55
|
David Goodger <go...@us...> writes: > Out of curiosity, is there any point in trying both ASCII and UTF-8? UTF-8 > is a strict superset of ASCII, so shouldn't checking UTF-8 alone be enough > for both? If we don't care what the original encoding was (we just want > Unicode text to process), does explicitly checking for ASCII buy us > anything? The answer to the last question is "no". The point in checking ASCII specifically is that you then know that it is strictly ASCII (unless it is iso-2022-jp, that is); if that is not interesting to know, there is no point. Regards, Martin |