bug-texinfo
[Top][All Lists]
Advanced

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

Re: index sorting in texi2any in C issue with spaces


From: Andreas Schwab
Subject: Re: index sorting in texi2any in C issue with spaces
Date: Sun, 04 Feb 2024 12:07:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

On Feb 04 2024, Eli Zaretskii wrote:

> If we want collation which uses only codepoints, disregarding any
> collation weights defined by the Unicode TR10, we could use
> en_US.utf-8, but then, as Gavin says, using glibc collation function
> you get more than you asked, because weights are not ignored.  So we
> need to use something else in the C variant of collation code, AFAIU.

If you want pure codepoint order, you can just use strcmp on the UTF-8
encoded strings.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



reply via email to

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