Re: texi2dvi not passing locale to texindex
Eli Zaretskii <[email protected]> Mon, 20 Apr 2026 17:07:04 +0300
| Newsgroups | gmane.comp.tex.texinfo.bugs |
|---|---|
| Message-ID | <[email protected]> |
> From: [email protected] > Date: Mon, 20 Apr 2026 07:43:16 -0600 > Cc: [email protected], [email protected], [email protected], [email protected] > > If I understand it, wrapping things in braces helps, in that sorting > will then be done on all the bytes in a multibyte-encoded letter > instead of on just the first byte. OK, but that still leaves the question of whether the byte sequence corresponding to {Ã } sorts before or after {Ã}, say. And Gawk determines that by calling locale-dependent libc functions, doesn't it? Or did you assume LC_ALL=C, which will cause Gawk work with individual bytes? (And if so, what do other Awks do in that case?) IOW, why did you say strncmp and not wcscmp?