On Sat, Nov 22, 2025 at 04:11:26PM +0000, Gavin Smith wrote:
> On Sat, Nov 22, 2025 at 02:48:30PM +0100, Patrice Dumas wrote:
> > Therefore, in normal runs, right now speed is favored over consistency
> > and the iconv "us-ascii//TRANSLIT" output is used.
>
> How does running UTF-8 into "us-ascii//TRANSLIT" iconv conversion
> increase speed? Could we not just skip that step?
Compared to calling Perl to do the transliteration.
> For example, commenting out the call to unicode_to_transliterate in
> normalize_transliterate_texinfo changes the output for @expansion{}
> in the 'id' from _003f to _21a6:
>
> It seems that we don't need transliteration for sectioning commands,
> regardless of whether it is in the C code or the Perl code.
In general, id obtained with transliteration are much more readable (for
languages using non ASCII encodings). That's why it is set for sectioning
commands id, even though it is admitedly not needed.
--
Pat