Walker News

Red Hat Linux 5 Man Page Displays Weird Characters

This is not a new issue of Red Hat Enterprise Linux 5. I have seen this problem since Red Hat Linux 8 Professional and apparently it is applicable to RHEL 5.2

As shown in the following screenshot, for example, the man fstab displays some Chinese-like characters to replace original texts in fstab help page.

There might be two or more than a dozen of ways to fix it. But, I am stick at one good old trick as long as it works.

Of course, I appreciate your kindness of leaving a comment to share your alternative trick.

How to fix the weird characters problem in RHEL 5 man pages?

Simple trick to fix Linux man page from displaying weird characters

Use your favourite editor to open /etc/man.conf and append this following line:
NROFF /usr/bin/groff -Tlatin1 -mandoc

UPDATE: This option works better:
NROFF /usr/bin/groff -Tascii -mandoc

As soon as you save the changes, Linux man page is displaying human-readable text :-).

Custom Search

  1. Jinren Xu 07-05-10@01:41

    Hi,
    After adding
    NROFF /usr/bin/groff -Tlatin1 -mandoc
    into /etc/man.config, the man page is much readable.
    But there is still one minor problem.
    The left single quote ‘ becomes backtik `.
    For example when you man find, you get
    `-‘
    Is there any way to fix that?

    Thanks,
    Jinren

  2. Walker 07-05-10@02:01

    Please share with me too, if you get the fix of this later :-)

2014  •  Privacy Policy