bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-ASCII characters in @include search path


From: Patrice Dumas
Subject: Re: Non-ASCII characters in @include search path
Date: Thu, 24 Feb 2022 22:57:00 +0100

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

[Prev in Thread] Current Thread [Next in Thread]