On 3/26/25 8:09 AM, Léa Gris wrote:

I wonder if locale is switched accordingly to environment variables, but environment variables may not automatically switch to the new locale.

There is a precedence hierarchy associated with locale environment variables, since setting and unsetting environment variables is under
the user's control.

This POSIX section explains it pretty well.

https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap08.html#tag_08_02


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to