diff options
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 7 |
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> |