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: Eli Zaretskii
Subject: Re: Non-ASCII characters in @include search path
Date: Sun, 20 Feb 2022 17:09:20 +0200

> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Sun, 20 Feb 2022 14:48:39 +0000
> Cc: Patrice Dumas <pertusus@free.fr>, trash.paradise@protonmail.com,
>       bug-texinfo@gnu.org
> 
> > what if the argument of -I is in some non-UTF-8 encoding, and the
> > source uses @include with a non-ASCII file name encoded according
> > top @documentencoding, which is UTF-8?  You need to construct a
> > complete file name from 2 parts that are encoded differently.
> 
> The byte sequences are just concatenated and used as the path to the file,
> even if it's not validly encoded.  This shouldn't cause a problem.

It will cause problems if the file names are encoded in something
other than UTF-8.  Users on GNU/Linux can do that quite easily.



reply via email to

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