bug-texinfo
[Top][All Lists]
Advanced

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

Re: `texindex` output depends on locale settings


From: Werner LEMBERG
Subject: Re: `texindex` output depends on locale settings
Date: Sun, 06 Nov 2022 17:19:23 +0000 (UTC)

>> * I think it would be OK if the documentation says that i18n
>>   support for sorting only works with awk programs that understand
>>   `LANG`.
> 
> Gawk understands and uses any LC_* and LANG variables that Posix
> requires, if Gawk uses glibc.  Otherwise you depend on the
> particular library, and no one says that all of them use the same
> collation order that glibc does, for the same locale.

Well...

> You assume that for every encoding in an Info document every user
> will have the corresponding locale installed and supported by the
> local libc?

Well...

> (And it isn't only the language, it's also the codeset -- which I'm
> sure you know.)

Again, I think it's OK if i18n support only works with glibc and
similarly capable C libraries – provided this is well documented and
probably shown in the output of `--version`.

Right now, there is *no* i18n support in `texindex`.  With some small
changes, there would be *full* support for a particular but important
set of OSes.  Not too bad IMHO.

It's up to the maintainers of texinfo to decide where to draw the
support line, but honestly, I can't imagine that they want to enter
the muddy waters of collation support for all platforms.


    Werner

reply via email to

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