Darryl Gregorash wrote:
On 2007-06-15 12:33, Jonathan Arnold wrote:
I'm getting the following warning from k3b:
=== System locale charset is ANSI_X3.4-1968
Your system's locale charset (i.e. the charset used to encode filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this has been done intentionally. Most likely the locale is not set at all. An invalid setting will result in problems when creating data projects.
Solution: To properly set the locale charset make sure the LC_* environment variables are set. Normally the distribution setup tools take care of this. =====
How do I fix this in openSUSE and/or YaST? My RC_LANG variable is set to en_US.UTF-8 according to the sysconfig. Should I set LC_ALL to be this as well?
Make sure RC_LC_ALL is not set in /etc/sysconfig/language.
It is set to "": RC_LC_ALL="" Should I just comment out that line entirely?
Run (as user) "locale" to see if RC_LANG has been changed. If it has,
$ locale LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=
run these:
grep LC_ ~/.* grep LC_ /etc/* grep LC_ /etc/init.d/*
to see if the change is in one of the profiles or a boot script.
I see: $ grep LC_ /etc/* /etc/rc.status:LC_ALL=POSIX /etc/rc.status:export LC_ALL And a bunch of places in init.d where LC_ALL=POSIX shows up. -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org