Greetings,

I'm currently doing a bit of research about the way to set the locale on 
a Linux system.  I experienced some X problems on my Linux system when I 
set my environmen variables to a locale using the notation that 
explicitly defines the character set, such as:

export LANG=fr_CA.ISO-8859-1
export LC_ALL=fr_CA.ISO-8859-1

I did some investigation and found out that the problem is caused by the 
differences in the way locale-related environment variables are treated 
between libc and X.  In X, there is no such thing as fr_CA.ISO-8859-1, 
you have to use fr_CA.ISO_8859-1 or fr_CA.iso88591 instead.

I managed to find some interesting discussion on this topic in some 
mailing lists, such as:

> http://lists.debian.org/debian-x/2001/debian-x-200107/msg00109.html

> http://www.xfree86.org/pipermail/i18n/2002-January/002849.html

My questions are the following:

1. Does anyone know if entries in 'libc' form will be added to X's 
locale.alias in the near future?
2. Is there documentation somewhere that explicitly defines the mapping 
between libc and X charset names?  For example:

    X                    libc
    ----------------+----------
    ISO8859-1        ISO-8859-1
    eucJP                EUC-JP
    ...
   

Many thanks,
Andre.

_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to