hello,
when executing some programs like bash, python, perl or yum you can sometimes encounter messages like these:
"-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)"
or
"Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8""
The fix for this bug is quite simple, just add following line to your /etc/sysconfig/i18n:
LC_CTYPE="en_US.UTF-8"
and the world is nice again 🙂
Update:
If using the MacOSX Terminal you can also deactivate the option "Set locale environment…" in the Terminal -> Settings -> Advanced tab.