From: Jarkko Hietaniemi Date: Tue, 19 Jan 1999 08:52:15 +0000 (+0000) Subject: Document the GNU LANGUAGE env var. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=528d65adbfbca8f0de82f889e6bbf92ea5fb07c8;p=p5sagit%2Fp5-mst-13.2.git Document the GNU LANGUAGE env var. p4raw-id: //depot/cfgperl@2645 --- diff --git a/pod/perllocale.pod b/pod/perllocale.pod index dba15fe..95aa6af 100644 --- a/pod/perllocale.pod +++ b/pod/perllocale.pod @@ -225,18 +225,18 @@ and see whether they list something resembling these english.iso88591 german.iso88591 russian.iso88595 english.roman8 russian.koi8r -Sadly, even though the calling interface for setlocale() has -been standardized, names of locales and the directories where the +Sadly, even though the calling interface for setlocale() has been +standardized, names of locales and the directories where the configuration resides have not been. The basic form of the name is -IB<.>I, but the latter parts after -I are not always present. The I and I are -usually from the standards B and B, the two-letter -abbreviations for the countries and the languages of the world, -respectively. The I part often mentions some B -character set, the Latin codesets. For example, C is the -so-called "Western codeset" that can be used to encode most Western -European languages. Again, there are several ways to write even the -name of that one standard. Lamentably. +IB<.>I, but the latter parts after +I are not always present. The I and I +are usually from the standards B and B, the +two-letter abbreviations for the countries and the languages of the +world, respectively. The I part often mentions some B character set, the Latin codesets. For example, C +is the so-called "Western European codeset" that can be used to encode +most Western European languages adequately. Again, there are several +ways to write even the name of that one standard. Lamentably. Two special locales are worth particular mention: "C" and "POSIX". Currently these are effectively the same locale: the difference is @@ -807,6 +807,15 @@ for controlling an application's opinion on data. C is the "override-all" locale environment variable. If set, it overrides all the rest of the locale environment variables. +=item LANGUAGE + +B: C is a GNU extension, it affects you only if you +are using the GNU libc. This is the case if you are using e.g. Linux. +If you are using "commercial" UNIXes you are most probably I +using libc and you can ignore C. But in the case you are +using it: it is an even more powerful "override-all" than C +and moreover, it's a "path" (":"-separated list) of locales. + =item LC_CTYPE In the absence of C, C chooses the character type