On Thu, Feb 24, 2022 at 07:40:21PM +0000, Gavin Smith wrote:
> > 
> > To do something similar to the NonXS parser, one would need, maybe
> > in Texinfo/XS/parsetexi/end_line.c in end_line_misc_line around line
> > 1428, instead of fullpath = locate_include_file (text); text should be
> > converted to the @documentencoding unless it is utf-8 or ascii.
> 
> Done in 46732a3290.  I haven't tested this code very much, just by
> running the test suite.

Another place in the XS parser code that needs a similar change is the
CPP lines, in check_line_directive/save_line_directive there should be
a conversion from utf8 to the final encoding too.

-- 
Pat

Reply via email to