From fffccab84ff977170a06d05b69b6a20152b0b392 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Fri, 14 Nov 2008 00:16:38 +0000 Subject: [PATCH] Add zh_CN.GB18030 locale for coreutils test-mbsstr3.sh test, and update explanatory text to what is now the first locale in the list. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8741 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 10 ++++++++++ chapter06/glibc.xml | 7 ++++--- general.ent | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 43c307aba..9b66c775d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,16 @@ --> + + 2008-11-13 + + + [ken] - Added zh_CN.GB18030 locale, for coreutils testsuite and + correct the explanatory text. + + + + 2008-11-05 diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 19be265e9..f76470f3d 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -204,9 +204,9 @@ grep Error glibc-check-log Individual locales can be installed using the localedef program. E.g., the first localedef command below combines the - /usr/share/i18n/locales/de_DE + /usr/share/i18n/locales/cs_CZ charset-independent locale definition with the - /usr/share/i18n/charmaps/ISO-8859-1.gz + /usr/share/i18n/charmaps/UTF-8.gz charmap definition and appends the result to the /usr/lib/locale/locale-archive file. The following instructions will install the minimum set of @@ -228,7 +228,8 @@ localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro localedef -i fr_FR -f UTF-8 fr_FR.UTF-8 localedef -i it_IT -f ISO-8859-1 it_IT localedef -i ja_JP -f EUC-JP ja_JP -localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 +localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 +localedef -i zh_CN.GB18030 -f GB18030 zh_CN.GB18030 In addition, install the locale for your own country, language and character set. diff --git a/general.ent b/general.ent index e2c9850a3..52e8b4c0e 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + +