Documenting composite LC_ALL locale, anyone?

Andrey Chernov ache at
Sun Feb 1 13:07:21 UTC 2004

On Sun, Feb 01, 2004 at 02:55:23PM +0200, Ruslan Ermilov wrote:
> This format is easy to generate when querying the locale with
> setlocale(LC_ALL, NULL), but when setting the locale it becomes
> very user-unfriendly.

This string can't be used to _set_ locale according to POSIX, only to 
save/restore it. To set locale, separate setlocale() calls must be 
used instead, so no user-friedling needed here.

Andrey Chernov |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
URL: <>

More information about the freebsd-doc mailing list