10.23.6 setlocale

POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/setlocale.html

Gnulib module: setlocale, setlocale-null

Portability problems fixed by Gnulib module setlocale:

Portability problems fixed by Gnulib module setlocale or setlocale-null:

Portability problems not fixed by Gnulib:

Note: The names of locales with UTF-8 encoding are platform dependent: