LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Manuel Pégourié-Gonnard <[log in to unmask]>
Tue, 17 Mar 2009 23:03:55 +0100
text/plain (16 lines)
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.