Version 3 of LANG

Updated 2009-01-30 08:40:16 by makr

Purpose: discuss the Unix environment variable LANG - what its purpose is, what problems can be encountered when using it, etc.


MAKR attempts (2009-01-30): The environment variable LANG is part of the set of internationalization (sometimes abbreviated i18n) variables of POSIX. For a definition see there, e.g. at [L1 ], and for the localization topic in general see e.g. here [L2 ].

To set the default POSIX locale:

set env(LANG) C

Sometimes that is not enough, and LC_ALL must be set, too:

set env(LC_ALL) C