[tex-live] packages with characters > 127

Ulrike Fischer news3 at nililand.de
Mon Dec 28 16:30:22 CET 2009


Am Mon, 28 Dec 2009 12:52:25 +0000 schrieb Robin Fairbairns:

> do xelatex/lualatex analyse all possible encoding signifiers?  (this is
> a serious question: i've no idea.)

As default xetex reads a file as utf8 or 16. You can declare other
encoding with e.g. \XeTeXinputencoding.

If the file is 8-bit-encoded and contains non-ASCII-char xetex will
probably tumbles over an invalid sequence. In this case you get a
message:
!Invalid UTF-8 byte or sequence at line 4 replaced by U+FFFD.!
and xetex continues to read this file in the so-called «bytes-mode».

This means that non-ascii chars in comments are not a problem for
xetex. 

-- 
Ulrike Fischer 



More information about the tex-live mailing list