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? -- 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
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. Run (as user) "locale" to see if RC_LANG has been changed. If it has, 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. -- Hypocrisy is the homage vice pays to virtue. -- François de La Rochefoucauld -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
On 2007-06-16 10:31, Jonathan Arnold wrote:
Darryl Gregorash wrote:
<snip> 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?
That is OK, just leave it. Something else is happening, and it is /weird/.
Run (as user) "locale" to see if RC_LANG has been changed. If it has,
$ locale LANG=C (etc)
This is very strange, and I cannot find where it might be getting set. If you are running in runlevel 5, log out. Then switch to a console (Ctrl-Alt-F2) and log in as root, run this "init 3". Then go to the first console (Ctrl-Alt-F1), log in as your ordinary user, and re-run "locale". If LANG is set to en_US here, then the problem is in the X or KDE setup. Alternatively, you might wish to reboot the system into runlevel 3 (at the boot prompt, just switch to the "Boot Options" field and type in a number 3, then "enter"). Log in as your ordinary user, and run locale. Did I say this is /weird/? :-) -- Hypocrisy is the homage vice pays to virtue. -- François de La Rochefoucauld -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Darryl Gregorash
-
Jonathan Arnold