This is the mail archive of the
mailing list for the glibc project.
Markus Kuhn writes:
> Since there are a couple of programs out there (for example less and
> xterm!) which parse "LANG", "LC_CTYPE", and "LC_ALL" to find out
> whether UTF-8 is used (instead of using nl_langinfo(CODESET)), it
> would be good to attach ".UTF-8" to these four locale names in particular.
The programs you cite should be fixed to use nl_langinfo(CODESET), or
- if portability to older systems is desired - libcharset.