James Cloos a écrit :
> As for utf-8 or other, it may be useful to default to the character set
> specified for the current $LOCALE. Maybe. :-/
Please don't do anything in the compilation of the document depend on the
locale! It would completely ruin portability of the source files.
A file must be assumed to be either utf-8 (auxiliary file written by
XeTeX/LuaTeX) or in the encoding declared as the option of inputenc. Exactly
what xetex-inputenc and luatex-inputenc do.
The difficult problem is to guess when a file is an auxiliary file. I suppose
the heuristics for doing so will improve when the solution gets tested.