csea, I have LANG=en_US.UTF-8 in /etc/sysconfig/i18n and I get the problem unless I reset LANG to something other than en_US.UTF-8 when running gcc/man etc.
My /etc/sysconfig/i18n is:
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
SUPPORTED="en_US.UTF-8:en_US:en"
locale reports:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
man and gcc give me the described problem:
If I change /etc/sysconfig/i18n to
LANG="en_UK.UTF-8"
SYSFONT="latarcyrheb-sun16"
SUPPORTED="en_UK.UTF-8:en_UK:en"
locale now reports
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_UK.UTF-8
LC_CTYPE="en_UK.UTF-8"
LC_NUMERIC="en_UK.UTF-8"
LC_TIME="en_UK.UTF-8"
LC_COLLATE="en_UK.UTF-8"
LC_MONETARY="en_UK.UTF-8"
LC_MESSAGES="en_UK.UTF-8"
LC_PAPER="en_UK.UTF-8"
LC_NAME="en_UK.UTF-8"
LC_ADDRESS="en_UK.UTF-8"
LC_TELEPHONE="en_UK.UTF-8"
LC_MEASUREMENT="en_UK.UTF-8"
LC_IDENTIFICATION="en_UK.UTF-8"
LC_ALL=
and man and gcc work (display quotes), however interestingly:
# man gcc
displays sequences like <E2><80><98><E2><80><98>
so it clearly isnt the proper/full solution.
Setting LANG unfortunatly breaks yum too - perhaps I need to re-init yum with the new LANG setting. I have to set LANG back to en_US.UTF-8 to get yum to work at present.
So... I still seek a proper solution to this problem (bug?) in FC4.
I found this article describes my exact problem:
http://www.redhat.com/archives/fedor.../msg03572.html
Sadly there is no reply to that thread and therefore no solution presented.