diff --git a/chapter09/locale.xml b/chapter09/locale.xml
index c5e55d0da..fa8508828 100644
--- a/chapter09/locale.xml
+++ b/chapter09/locale.xml
@@ -50,19 +50,21 @@
locale -a
- Charmaps can have a number of aliases, e.g., ISO-8859-1
- is also referred to as iso8859-1
and iso88591.
+ Charmaps can have a number of aliases, e.g.,
+ ISO-8859-1 is also referred to as
+ iso8859-1 and iso88591.
Some applications cannot handle the various synonyms correctly (e.g., require
- that UTF-8
is written as UTF-8, not
+ that UTF-8 is written as UTF-8, not
utf8), so it is the safest in most
cases to choose the canonical name for a particular locale. To determine
the canonical name, run the following command, where <locale
name> is the output given by locale -a for
- your preferred locale (en_GB.iso88591
in our example).
+ your preferred locale (en_GB.iso88591 in our
+ example).
LC_ALL=<locale name> locale charmap
- For the en_GB.iso88591
locale, the above command
+ For the en_GB.iso88591 locale, the above command
will print:
ISO-8859-1
@@ -120,14 +122,16 @@ EOF
doesn't work in the chroot environment. It can only
be used after the LFS system is booted with systemd.
- The C
(default) and en_US
(the recommended
- one for United States English users) locales are different. C
+ The C (default) and en_US
+ (the recommended one for United States English users) locales are
+ different. C
uses the US-ASCII 7-bit character set, and treats bytes with the high bit set
as invalid characters. That's why, e.g., the ls command
substitutes them with question marks in that locale. Also, an attempt to send
mail with such characters from Mutt or Pine results in non-RFC-conforming
- messages being sent (the charset in the outgoing mail is indicated as unknown
- 8-bit
). It's suggested that you use the C
locale only
+ messages being sent (the charset in the outgoing mail is indicated as
+ unknown 8-bit). It's suggested that you
+ use the C locale only
if you are certain that you will never need 8-bit characters.