Эх сурвалжийг харах

Correct my wrong UTF-8 comment.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7476 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Ken Moffat 19 жил өмнө
parent
commit
7f6e6e9133

+ 10 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
     </listitem>
 -->
 -->
 
 
+    <listitem>
+      <para>March 30, 2006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Correct my erroneous comment about UTF-8 locales in
+	  Man-DB.  Thanks to Alexander for explaining it.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>March 29, 2006</para>
       <para>March 29, 2006</para>
       <itemizedlist>
       <itemizedlist>

+ 6 - 4
chapter06/man-db.xml

@@ -119,10 +119,12 @@ EOF</userinput></screen>
     <para>Some packages provide UTF-8 man pages which this version of
     <para>Some packages provide UTF-8 man pages which this version of
     <command>man</command> is unable to display.  The following script will
     <command>man</command> is unable to display.  The following script will
     allow some of these to be converted into the expected encodings shown in
     allow some of these to be converted into the expected encodings shown in
-    the table below. It will not help if you are using a UTF-8 locale.
-    Because this script  is intended for limited use during the system build,
-    for public data, we will not bother with error checking, nor use a
-    non-predictable temporary file name.</para>
+    the table below. Man-DB expects the manual pages to be in the encodings
+    in the table, and will convert them as necessary to the actual locale
+    encoding when it displays them, so that they will display in both UTF-8
+    and traditional locales.  Because this script is intended for limited use
+    during the system build, for public data, we will not bother with error
+    checking, nor use a non-predictable temporary file name.</para>
 
 
 <screen><userinput>cat &gt;&gt;convert-mans &lt;&lt;"EOF"
 <screen><userinput>cat &gt;&gt;convert-mans &lt;&lt;"EOF"
 <literal>#!/bin/sh -e
 <literal>#!/bin/sh -e