[luatex] BOM

Taco Hoekwater taco at elvenkind.com
Fri May 15 09:48:17 CEST 2009

Javier Bezos wrote:
>> I could set
>>   \catcode "FEFF = 9
>> as part of the initex initialization code. That would do the trick, yes?
> Yes, provided the source is in uft-8. 

That is irrelevant. \catcodes in luatex are applied after file reading,
and they apply to Unicode characters. The byte representation of BOM in
various encodings may differ, but they certainly all map to U+FEFF.

Best wishes,

More information about the luatex mailing list