bug-texinfo
[Top][All Lists]
Advanced

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

Re: Skip filename recoding tests on MS-Windows


From: Eli Zaretskii
Subject: Re: Skip filename recoding tests on MS-Windows
Date: Wed, 26 Oct 2022 15:14:26 +0300

> Date: Wed, 26 Oct 2022 11:03:53 +0200
> From: pertusus@free.fr
> Cc: GavinSmith0123@gmail.com, bug-texinfo@gnu.org
> 
> Lets call LOC your locale.  The setup is a manual encoded in Latin1, and
> an include file included_latîn1.texi.  On your computer, the î in the
> include file is stored as 0x05DE, which is the conversion of 0xEE in the
> LOC codepage.

The manual has the @documentencoding which declares Latin1 encoding.
So I believe included_latîn1.texi is converted to UTF-8 correctly.

The problem happens when accessing this file via 'stat' etc., because
the locale's encoding cannot encode î.

For this to work, the non-ASCII character we use should be encodable
both by Latin1 and by the Windows codepages.  This is a tough
requirement, but if you look at the tables of these encodings, you
will see that some codepoints between 0xA1 and 0xAF are identical
between many Windows codepages and Latin1.  For example, 0xAB is
identical in many codepages.  So maybe we could try such a character,
for these tests?



reply via email to

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