LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Tue, 17 Mar 2009 23:03:55 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Manuel Pégourié-Gonnard <[log in to unmask]>
Parts/Attachments: 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.