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, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."