Originally posted by: SystemAdmin
> After setting the environment variables LANG=fr_FR
> and LC_ALL=fr_FR, when I open the man page using man
> command, the man page get's opened in the french
> locale but the extended characters in the man page
> are not getting displayed properly. It is getting
> displayed as some junk characters.
> ...
> What am I missing?
<HINT>
Examining a man page involves many components.
1. man(1) knows how to interpret (roff) them.
2. man(1) needs to know where the pages are,
as configured by your admin.
3. The pages must be installed by your admin.
4. The terminal (probably an xterm client) must know
how to display the interpretted page.
Your clear description indicates that 1, 2, and 3 are
satisfied. I therefore deduce you are missing 4.
Your X servier is informed of the fonts (pictures to
display for each character code) available by your admin.
Your admin selects the default font used by your X-client.
IIRC, you can probably override the default font settings
with the -font command line option to most x clients
including man.
IIRC, aix supports an environment variable LOCALE(?)
a few convenience tools, (e.g. set_locale(?)) that
set the environment (including LANG), default fonts,
etc. consistent with local expectations.
The reason for the separation of control is the usual
unix philosophy of do one thing easily described (KISS
principle) do that one thing well, and do that one
thing cooperatively (easy integration), with
defaults (e.g. LOCALE(?)).
</HINT>
I regret that I cannot give you a tested full answer at
this time, but hope this points you in the right direction.
#AIX-Forum