[XeTeX] latin-1 encoded characters in commented out parts trigger log warnings
d.p.carlisle at gmail.com
Sun Feb 21 12:12:37 CET 2021
I think that should be taken up with the xstring maintainers.
I don't think there is any reasonable way to say you can comment out parts
of a file in a different encoding.
The file encoding specifies the byte stream interpretation before any tex
If the file can not be interpreted as utf-8 then it can't be interpreted at
all. Even replacing by U+FFFD
is being lenient.
On Sun, 21 Feb 2021 at 11:04, jfbu <jfbu at free.fr> wrote:
> consider this
> and call it xexstring.tex
> Then xelatex xexstring triggers 136 warnings of the type
> Invalid UTF-8 byte or sequence at line 35 replaced by U+FFFD.
> Looking at file
> I see that this matches with use of latin-1 encoded characters in comments.
> Notice that it is a not a user decision here to use a latin-1
> encoded file.
> In fact I encountered this in a file I was given where
> xstring package was loaded by another package.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the XeTeX