diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2006-07-13 14:37:29 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2006-07-13 14:37:29 +0000 |
commit | 83f017331fdfbe05eda75eb76e397fdbecae14ec (patch) | |
tree | 349f60edbedb8b519aa2d9014d050cd35da80b8c /chapter07 | |
parent | f67a9da4f70bdb0aa36848e641051b7fb7dc4a8f (diff) |
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
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/profile.xml | 18 |
1 files changed, 9 insertions, 9 deletions
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</userinput></screen> <!-- FIXME: the xlib example will became obsolete real soon --> <para>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:</para> + following error message if the locale does not exactly match one of the character + map names in its internal files:</para> <screen><computeroutput>Warning: locale not supported by Xlib, locale set to C</computeroutput></screen> - <para>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 <command>locale charmap</command> 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.</para> + <para>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 <command>locale charmap</command> 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.</para> <para>Other packages can also function incorrectly (but may not necessarily display any error messages) if the locale name does not meet their expectations. |