[KLUG Members] LANG in /etc/sysconfig/i18n
Bruce Smith
members@kalamazoolinux.org
03 Dec 2002 08:37:48 -0500
> I've changed LANG in /etc/sysconfig/i18n, but LANG still shows up as
> en_US.UTF-8, interfering with Acrobat Reader. Does this need to be
> changed somewhere else as well?
>
> [root@estate1 awilliam]# env | grep LANG
> LANG=en_US.UTF-8
> GDM_LANG=en_US.UTF-8
> [root@estate1 awilliam]# acroread
> Warning: charset "UTF-8" not supported, using "ISO8859-1".
> Aborted
> [root@estate1 awilliam]# cat /etc/sysconfig/i18n
> #LANG="en_US.UTF-8"
> #SUPPORTED="en_US.UTF-8:en_US:en"
> #SYSFONT="latarcyrheb-sun16"
> LANG="en_US"
> SUPPORTED="en_US"
> SYSFONT="lat0-sun16"
> SYSFONTACM="iso01"
That file is the only one I changed and it works here:
lx1:/home/bruce$ env | grep LANG
LANG=en_US
lx1:/home/bruce$ cat /etc/sysconfig/i18n
LANG="en_US"
SUPPORTED="en_US"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"
lx1:/home/bruce$ acroread
lx1:/home/bruce$ # (started fine)
Try tracing:
sh -x /etc/profile.d/lang.sh
Try removing/renaming: /etc/sysconfig/i18n
It also works on workstations that have been upgraded from
older releases of Redhat where that file has never existed
(and still doesn't exist).
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------