[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with iso8859 on xterm/with man(1)

On Wed, May 16, 2001, Nilgün Belma Bugüner <nilgun@technologist.com> wrote:

> man pages with ISO latin characters:
> export LESSCHARSET=iso8859

Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> in linux-utf8:

    It is about time to remove a couple of obsolete habits from user

    Do NOT define the environment variable LESSCHARSET. The current
    version of less is able to test the locale and determines automatically
    whether you want Latin-1 or UTF-8. Defining LESSCHARSET is a habit from
    the time where less would by default assume everything is in ASCII,
    which it does not any more. Defining LESSCHARSET deactivates the
    automatic locale-based selection of the character encoding.

1. Check your pager. Is it really less?
2. Check that 'locale charmap' returns ISO-8859-1 (or ISO-8859-15
    o UTF-8)
There is one bigger problem: the glibc and the Xlib locales are
different and they seem to conflict.
jr <jrfern@bigfoot.com>
GnuPG (www.gnupg.org) key available at your nearest wwwkeys server

Reply to: