Lately if I open certain applications like 'mc' I get:
Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
or worse:
Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/share/system-config-printer/my-default-printer.py", line 31, in <module>
locale.setlocale (locale.LC_ALL, "")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
or
WARNING **: Unsupported locale en_US.ISO8859-1! Please use a locale with .UTF-8 suffix! For example: export LANGUAGE=en_US.UTF-8
(process:20058): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Most applications then still open.
My setting in /etc/profile.d/lang.sh is en_US that is when 'mc' complains. If I change
others complain.
Could it be something broke administering locale and which one would
then have to be reinstalled?
This problem above persists and a cron job fails which calls for the opening
of a xmessage due to wrong locale setting.
Where is that "C" library?
/usr/bin/locale -a gives a long list including my setting of en_US.
Help appreciated.