|
@@ -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.
|