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 --- chapter07/profile.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'chapter07') 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. -- cgit v1.2.3-54-g00ecf