[luatex] BOM

Werner LEMBERG wl at gnu.org
Fri May 15 09:33:23 CEST 2009


>> Perhaps it makes sense to emit a warning if U+FEFF is found in the
>> middle of a file.
> 
> how?  you've just explained that there's little chance of spotting
> it in that situation.

I've explained that it is not easy to assure that a BOM at the
beginning of a file is really part of the protocol and not part of the
data -- just think of a large file split into equally sized smaller
files which gets read in with \input, and each of this file starts
with a BOM to make the editor happy.

On the other hand, it should be rather easy to identify U+FEFF not at
the beginning of a file, right?  This might be a user input error
then.


    Werner


More information about the luatex mailing list