[KLUG Members] RedHat 8.0 UTF-8 compatibility revisited ...

Adam Tauno Williams members@kalamazoolinux.org
Thu, 26 Dec 2002 10:03:04 -0500


>>[ Sorry if this is already known, but I didn't see it in the KLUG/LEAP
>>archives ]
>>After following Bruce's comments, I found out that a simple change of
>>"/etc/sysconfig/i18n":
>>From:
>> LANG="en_US.UTF-8"
>> SUPPORTED="en_US.UTF-8:en_US:en"
>> SYSFONT="latarcyrheb-sun16"
>>To:
>>   LANG="en_US.UTF-8:en_US:en"
>>   SUPPORTED="en_US.UTF-8:en_US:en"
>>   SYSFONT="latarcyrheb-sun16"
>>Fixes all my issues with several binary-only programs (like Acrobat
>>Reader).  Each variable is just a colon (:) separated set of values, and
>>one only needs to add "en_US:en" to the "LANG" variable.

Nice tidbit,  I didn't know that one could array the values of LANG and SUPPORTED.

>Note:  If you're using GDM to login, it appears you must also modify
>/etc/X11/gdm/gdm.conf, and set:  DefaultLocale=en_US

But you can't array that one?  So, I assume running a shell parses
/etc/sysconfig/i18n, or is it read by some mother process and then merely
inherited in the environment?

>I don't know about KDM, or other display managers.
>>Maybe RedHat _should_ be doing this by default in 8.x???
>Maybe, but I admit not to understanding much about the functioning of
>the LANG variable.  I simply strace'ed acrobat, and found the problem
>was in the LANG, and used "trial & error" to "fix" it from there.

Yes, this UNICODE stuff has been sneaking in over the past few releases without
a whole lot of announcement or documentation,  or if there has been some I've
managed to stumble right over it.