Kaixo!
On Wed, Nov 24, 1999 at 10:41:23PM +0100, Kai Nielsen wrote:
> I am using German language settings, and I have to set
> LESSCHARSET=latin1 to read manpages in a sane way.
No. You haven't.
LESSCHARSET is an horrible trick, it isn't necessary anymore, you can
set correctly the language instead.
> If LESSCHARSET is not set, everywhere where a line ends with
> a "-", there will be something unprintable.
> (And worse, text containing umlauts (���...) will be recognized
> as binary by less, and all those chars will be unprintable as well.)
Your LC_CTYPE (or LC_ALL) uses an incorrect value.
Have you installed supprot for German language (locales-de rpm file)?
What is the output of the 'locale' command ?
What version of 'less' ?
Thanks.
> So probably the LESSCHARSET setting should be added to the
> default setup.
No; forcing LESSCHARSET=latin1 works for latin1 languages; but cause problems
with non-latin1 ones; so it is a bad solution. The correct solution is
to use the locales.
> (At least for german settings, but I tried to set LANG, LC_ALL
> etc to C or en and got the same error without LESSCHARSET?)
THe 'C' locale is only ASCII; no 8th bit at all; so the less behaviour with
LANG=C is correct.
If you use german language you should set LC_ALL=de_DE, LANGUAGE=de
--
Ki �a vos v�ye b�n,
Pablo Saratxaga
http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975