|
|
发表于 2006-6-7 23:29:20
|
显示全部楼层
好像从glibc 2.4开始有了locale-gen
不需要重编glibc了
$ cat /etc/locale.gen
# etc locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# <locale> <charmap>
#
# Where <locale> is a locale located in usr share i18n locales and
# where <charmap> is a charmap located in usr share i18n charmaps .
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# usr share i18n SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you. After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.
en_US ISO-8859-1
en_US.UTF-8 UTF-8
zh_CN GB2312
zh_CN.GBK GBK
zh_CN.GB18030 GB18030
zh_CN.UTF-8 UTF-8
zh_HK BIG5-HKSCS
zh_HK.UTF-8 UTF-8
zh_TW BIG5
zh_TW.UTF-8 UTF-8 |
|