Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2011 20:25:10 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-questions@freebsd.org
Subject:   Re: groff && UTF-8
Message-ID:  <j0fan6$1o6g$1@lorvorc.mips.inka.de>
References:  <20110718104939.GA32254@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Apitz <guru@unixarea.de> wrote:

> The critical part seems to be: the text is UTF-8 and converting this
> to ISO 8859-1 is not an option. It's a Library Management System we
> just ported to Unicode, and we don't want to fall back in printing :-)
> 
> I've checked groff 1.21 from the ports but it seems to understand
> only making UTF-8 output with its driver -Tutf8. Is there a way to make
> it understand UTF-8 as input

Use the preconv(1) command included with groff 1.21, or use the -k
or -K <encoding> options with groff to automatically call preconv.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j0fan6$1o6g$1>