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

Re: multilingual man pages



Kaixo!

[about utf-8 man pages I suppose]

> >> What has to be done with less? If LESSCHARSET=utf-8, it should handle
> >> utf-8 correct already.

The problem is not less, less works very well with utf-8 (at least latest
versions/patched versions of less do).

The problem is the program that formats the man pages: groff.

groff currently works correctl *only* with iso-8859-1 text files (it can
also use a few typographic chars outside of iso-8859-1, but it cannot
properly display a page in Polish, cyrillic, or any language that cannot
be written with iso-8859-1 only).

>> I have problems with bold Unicode characters (the famous
>> "XY Backspace XY" hack).
> 
> This should be OK in SuSE Linux >= 7.3, I applied a small patch to
> less to fix this.

create a very simple man page in utf-8 with some chars like the euro,
a polish barred l, a ccedilla, a couple of greek and cyrillic chars,...
then try to call "man" to display that man page.

-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.srtxg.easynet.be/		PGP Key available, key ID: 0x8F0E4975

--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/