From 83f017331fdfbe05eda75eb76e397fdbecae14ec Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 13 Jul 2006 14:37:29 +0000 Subject: Updated text in section 7.9 to better explain the Xlib locale example. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7667 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 +++++++++++ chapter07/profile.xml | 18 +++++++++--------- general.ent | 4 ++-- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f56b05616..bd5e4f6c0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,17 @@ --> + + July 13, 2006 + + + [bdubbs] - Updated text in section 7.9 (The Bash + Shell Startup Files) to better explain the Xlib example. + + + + + July 12, 20006 diff --git a/chapter07/profile.xml b/chapter07/profile.xml index 112c9a768..a60f9da30 100644 --- a/chapter07/profile.xml +++ b/chapter07/profile.xml @@ -120,18 +120,18 @@ LC_ALL=<locale name> locale int_prefix Some packages beyond LFS may also lack support for your chosen locale. One example is the X library (part of the X Window System), which outputs the - following error message: + following error message if the locale does not exactly match one of the character + map names in its internal files: Warning: locale not supported by Xlib, locale set to C - Here Xlib expects that the character map will be listed in uppercase - notation with canonical dashes. For instance, "ISO-8859-1" rather than - "iso88591". It is sometimes possible to fix this by removing the charmap part - of the locale specification, as long as that does not change the character - map that Glibc associates with the locale. This can be checked by running - the locale charmap command in both locales. For example, - one would have to change "de_DE.ISO-8859-15@euro" to "de_DE@euro" in order to - get this locale recognized by Xlib. + In several cases Xlib expects that the character map will be listed in + uppercase notation with canonical dashes. For instance, "ISO-8859-1" rather + than "iso88591". It is also possible to find an appropriate specification by + removing the charmap part of the locale specification. This can be checked + by running the locale charmap command in both locales. + For example, one would have to change "de_DE.ISO-8859-15@euro" to + "de_DE@euro" in order to get this locale recognized by Xlib. Other packages can also function incorrectly (but may not necessarily display any error messages) if the locale name does not meet their expectations. diff --git a/general.ent b/general.ent index c4a092129..361b10f5f 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + + -- cgit v1.2.3-54-g00ecf