diff options
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r-- | chapter06/glibc.xml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index b02beb9ad..3aaa0f9d1 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -70,12 +70,12 @@ <screen><userinput remap="pre">tar -xvf ../glibc-libidn-&glibc-version;.tar.bz2 mv glibc-libidn-&glibc-version; libidn</userinput></screen>--> - <!-- <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop - at startup. It is unknown whether this is a <command>bash</command> bug or a - Glibc problem. Disable installation of this locale in order to avoid the - problem:</para> + <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite + loop at startup. It is unknown whether this is a <command>bash</command> + bug or a Glibc problem. Disable installation of this locale in order to + avoid the problem:</para> -<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen> --> +<screen><userinput remap="pre">sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen> <!-- <para>When running <command>make install</command>, a script called <filename>test-installation.pl</filename> performs a small sanity test on @@ -208,17 +208,19 @@ 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 locales necessary for the optimal coverage of tests:</para> <screen role="nodump"><userinput remap="locale-test">mkdir -pv /usr/lib/locale +localedef -i cs_CZ -f UTF-8 cs_CZ.UTF-8 localedef -i de_DE -f ISO-8859-1 de_DE localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro +localedef -i de_DE -f UTF-8 de_DE.UTF-8 localedef -i en_HK -f ISO-8859-1 en_HK localedef -i en_PH -f ISO-8859-1 en_PH localedef -i en_US -f ISO-8859-1 en_US @@ -229,7 +231,9 @@ localedef -i fr_FR -f ISO-8859-1 fr_FR 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</userinput></screen> +localedef -i ja_JP -f EUC-JP ja_JP +localedef -i tr_TR -f UTF-8 tr_TR.UTF-8 +localedef -i zh_CN -f GB18030 zh_CN.GB18030</userinput></screen> <para>In addition, install the locale for your own country, language and character set.</para> |