- 论坛徽章:
- 0
|
好久没人理你 ,俺给一个不太准确的解释。
首先,各环境变量的意思:
LANG Defines all locale settings at once, while allowing further individual customization via the LC_* settings below.
LC_COLLATE Define alphabetical ordering of strings. This affects e.g. output of sorted directory listing.
LC_CTYPE Define the character handling properties for the system. This determines which characters are seen as part of alphabet, numeric and so on. This also determines the character set used, if applicable.
LC_MESSAGES Programs' localizations for applications that use message based localization scheme (majority of Gnu programs, see next chapters for closer information which do, and how to get the programs, that don't, to work).
LC_MONETARY Defines currency units and formatting of currency type numeric values.
LC_NUMERIC Defines formatting of numeric values which aren't monetary. Affects things such as thousand separator and decimal separator.
LC_TIME Defines formatting of dates and times.
LC_PAPER Defines default paper size.
LC_ALL A special variable for overriding all other settings.
以上参考自http://www.gentoo.org/doc/en/guide-localization.xml
这些环境变量的定义应当是libc里定义的,(不知道是不是POSIX里边定义的),但估计你换一个libc,这些环境变量会多少有些不同 |
|