[MPlayer-DOCS] Online Russian HTML page, generated from mplayer.1 is broken

Diego Biurrun diego at biurrun.de
Wed Nov 8 16:51:10 CET 2006

On Wed, Nov 08, 2006 at 07:08:55PM +0600, Vladimir Voroshilov wrote:
> 2006/11/8, Diego Biurrun <diego at biurrun.de>:
> >On Wed, Nov 08, 2006 at 12:01:25PM +0600, Vladimir Voroshilov wrote:
> >The problem is that (current versions of) groff do not support KOI8-R
> >input.  We already had a similar problem with the Chinese and Czech man
> >pages - they are in UTF-8 encoding - that we solved by using groff-utf8,
> >which accepts UTF-8 input.
> >
> >One solution would be to convert the Russian manual page to UTF-8.
> >Generating HTML from that is not a problem, it works for Chinese and
> >Czech and I just confirmed it's no problem with Russian.
> >
> >Whether this is a problem for system man pages - I don't know, you'll
> >have to tell me how it works for you.  A course of action here would be
> >to run the UTF-8 man page through iconv during the installation
> >procedure.  This could pave the way for using only UTF-8 for the man
> >pages as well.
> This will be a problem at least on my Gentoo box. It does not show
> UTF-8  man pages correctly under koi8-r locale. So converting man
> pages to unicode will be good solution only after creating apropriate
> install script.

Should be easy enough:

iconv -t UTF-8 -f KOI8-R < DOCS/man/ru/mplayer.1 > $DESTDIR/mplayer.1

or similar integrated into 'make install'.

> I prefer to keep koi8-r encoding till translation end.

What difference does it make?  XML docs are already UTF-8...

> P.S. I also will try to found solution to show unicode man pages on
> non-unicode locale correctly.

You may wish to look at groff-utf8.


More information about the MPlayer-DOCS mailing list