[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: library for unicode collation in C for texi2any?
From: |
Eli Zaretskii |
Subject: |
Re: library for unicode collation in C for texi2any? |
Date: |
Thu, 12 Oct 2023 13:29:27 +0300 |
> Date: Thu, 12 Oct 2023 11:39:14 +0200
> From: Patrice Dumas <pertusus@free.fr>
>
> One thing I could not find easily in C is something to replace the
> Unicode::Collate perl module for index entries sorting using 'smart'
> rules for sorting, that could be either found in Gnulib, included easily
> in the Texinfo distribution or would be, in general, installed. Unless
> I missed something, there is no such facility in libunistring, it seems
> to be in libICU, but I do not know how easy it could be
> integrated/shipped with Texinfo and I do not think that it is installed
> in the general case.
>
>
> Do you have information, on how to do 'smart' unicode sorting in
> C, including for tests, which could allow shipping of code as we already
> do with libunistring in gnulib in case it is not already installed, such
> that it is used in the general case? Could also be example of projects
> that have managed to do that.
What is "smart sorting"? where is it described/documented?
In general, Unicode collation rules are locale- and
language-dependent. My recommendation for Texinfo is not to use
locale-specific collation rules, so that the indices would come out
sorted identically no matter in which locale the user runs texi2any.
- library for unicode collation in C for texi2any?, Patrice Dumas, 2023/10/12
- Re: library for unicode collation in C for texi2any?,
Eli Zaretskii <=
- Re: library for unicode collation in C for texi2any?, Patrice Dumas, 2023/10/12
- Re: library for unicode collation in C for texi2any?, Eli Zaretskii, 2023/10/12
- Re: library for unicode collation in C for texi2any?, Werner LEMBERG, 2023/10/12
- Re: library for unicode collation in C for texi2any?, Eli Zaretskii, 2023/10/12
- Re: library for unicode collation in C for texi2any?, Werner LEMBERG, 2023/10/12
- Re: library for unicode collation in C for texi2any?, Eli Zaretskii, 2023/10/13
- Re: library for unicode collation in C for texi2any?, Werner LEMBERG, 2023/10/13
- Re: library for unicode collation in C for texi2any?, Eli Zaretskii, 2023/10/13
- Re: library for unicode collation in C for texi2any?, Werner LEMBERG, 2023/10/13
- Re: library for unicode collation in C for texi2any?, Eli Zaretskii, 2023/10/13