> From: Gavin Smith <[email protected]> > Date: Mon, 20 Apr 2026 19:46:16 +0100 > Cc: [email protected], [email protected], [email protected], > [email protected] > > On Mon, Apr 20, 2026 at 09:22:22PM +0300, Eli Zaretskii wrote: > > But locale-specific sorting is not necessarily in the Unicode > > codepoint order, is it? And a manual written in a given language > > probably assumes sorting used in that language's locale, right? > > As I said: > > > (We've got no control over the collation order though - this is a > > fundamental limitation, but a minor one, in my opinion.) > > There may be certain improvements we could make to get better results > in certain languages, but perfect locale-dependent index sorting with > texindex is not likely to be easily achieveable.
If users are okay with sorting that is based only on comparing codepoints, that should be okay at least for UTF-8 encoded documents. Other encodings, I don't know: their byte sequences might not sort the same. So perhaps all this should be documented in the manual, where indices and index entries are described, to prevent people from having expectations Texinfo currently cannot meet.
