aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorKen Moffat <ken@linuxfromscratch.org>2008-11-14 00:16:38 +0000
committerKen Moffat <ken@linuxfromscratch.org>2008-11-14 00:16:38 +0000
commitfffccab84ff977170a06d05b69b6a20152b0b392 (patch)
tree13b94151f83c91f04fd6a884337272e29de95e34 /chapter06/glibc.xml
parentf69952d6a69858ae4bfc9c8a92a981e0c5851eee (diff)
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
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml7
1 files changed, 4 insertions, 3 deletions
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</userinput></screen>
<para>Individual locales can be installed using the
<command>localedef</command> program. E.g., the first
<command>localedef</command> command below combines the
- <filename>/usr/share/i18n/locales/de_DE</filename>
+ <filename>/usr/share/i18n/locales/cs_CZ</filename>
charset-independent locale definition with the
- <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename>
+ <filename>/usr/share/i18n/charmaps/UTF-8.gz</filename>
charmap definition and appends the result to the
<filename>/usr/lib/locale/locale-archive</filename> 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</userinput></screen>
+localedef -i tr_TR -f UTF-8 tr_TR.UTF-8
+localedef -i zh_CN.GB18030 -f GB18030 zh_CN.GB18030</userinput></screen>
<para>In addition, install the locale for your own country, language and
character set.</para>