What about the UTF-8 “signature” (BOM)? Explicitly disambiguating UTF-8, ASCII, Windows-1252, &c is pretty handy at times.