UTF-8 locale, strange chars in X terminal pager(s), specifically man pages

From: Frederick B. Henry Jr. (fbhjr_at_fhase.net)
Date: 09/30/04

  • Next message: Steven Yap: "Re: Mouse Pointer"
    Date: Thu, 30 Sep 2004 00:03:49 -0500
    To: debian-user@lists.debian.org
    
    

    Greetings,

    Context: Debian unstable. I have the ucs fonts package installed, as well
    as several classical polytonic Greek fonts, which render very well in
    Mozilla Firefox. I can start an xterm thusly:

    xterm -u8 -fn \
    '-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1'

    It displays the "UTF-8-demo.txt" file nicely, with the sole exception of
    Amharic Ethiopian, which is displayed as outline boxes per character.

    Since switching my locale to en_US.UTF-8 (dpkg-reconfigure locales),
    whenever I use any pager (more, less, most) to read a man page I get
    strange chars, e.g.:

    man procmailrc (PAGER=/usr/bin/most) yields:

    "delivering and nonâ@~^Pdelivering recipes.."

    That intercalating pattern -- â@~^PP -- is throughout the man page.

    I have tried the same in a utf-8 xterm with the same result.

    Is there some specific font I should be using? How do I get a clean man
    page in an xterm/aterm/rxvt/mlterm with a UTF-8 locale?

    output of locale:

    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=

    Any hints or help would be greatly appreciated.

    Cheers,

    Fred Henry, Jr.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Steven Yap: "Re: Mouse Pointer"

    Relevant Pages

    • Re: Wired fontconfig behavior
      ... I change locale to en_US, it will in a correct sequence without ... Lattin fonts, it behaviors like above. ... Wang Xu ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • [kde-linux] Followup questions, thanks (was: Re: Encoding questions)
      ... fix it in kate. ... I tried the 87 fonts that Mandriva seems to install by ... they don't display the upside down e. ... At least one of them should be set, and to a locale ...
      (KDE)
    • Re: Xterm problems with ES3 (Taroon)
      ... You were right about the locale and it didn't really have anything to do ... > c) fonts (if you're using Exceed, that sounds like the fonts reside ... My xterms on other platforms and Redhat versions work ...
      (comp.os.linux.x)
    • Re: Fonts from GDM?
      ... It seems to be a listing of what fonts to use in GTK apps, ... Trouble is, there is one for UTF-8, and a few gtkrc.iso-* ... How can I tell which locale I am using? ...
      (Debian-User)
    • fonts, locales, charsets
      ... I need some info about locales and fonts. ... I would like to understand font in gtk (vs kde) apps. ... sometime (when locale is not ISO-8859-1) I get these warnings: ...
      (Debian-User)