bug-texinfo
[Top][All Lists]
Advanced

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

Re: do not upper case @sc argument in HTML cross manual Cross References


From: Eli Zaretskii
Subject: Re: do not upper case @sc argument in HTML cross manual Cross References
Date: Fri, 10 Mar 2023 09:05:58 +0200

> Date: Thu, 9 Mar 2023 21:14:52 +0100
> From: pertusus@free.fr
> Cc: gavinsmith0123@gmail.com, bug-texinfo@gnu.org
> 
> > > I do not think that it matters in texi2any (and for perl character
> > > strings more generally).
> > 
> > It could matter if texi2any up-cases some text that includes 'i',
> > e.g. for case-insensitive comparison or for producing text that must
> > be in upper case, like commands for some network protocol.  E.g., what
> > happens with sorting the index entries of a Texinfo manual?
> 
> The Unicode::Collate perl module is used for sorting.  The
> Unicode::Collate::Locale package could be used in the future.

I'm not saying that texi2any doesn't play by the locale's rules.
Quite the contrary: I'm saying that _if_ it plays by the locale's
rules, then downcasing an innocent word like "INIT" will yield "ınit"
in Turkish locale, something that could well be unexpected, and if you
compare thatr with "init" for equality, it will compare not equal.



reply via email to

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