From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 20:25:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C99CA1065670 for ; Sat, 23 Jul 2011 20:25:13 +0000 (UTC) (envelope-from mailnull@mips.inka.de) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mx1.freebsd.org (Postfix) with ESMTP id 837818FC0A for ; Sat, 23 Jul 2011 20:25:13 +0000 (UTC) Received: from mail-in-17-z2.arcor-online.net (mail-in-17-z2.arcor-online.net [151.189.8.34]) by mx.arcor.de (Postfix) with ESMTP id A2CBB1AB7E4 for ; Sat, 23 Jul 2011 22:25:11 +0200 (CEST) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mail-in-17-z2.arcor-online.net (Postfix) with ESMTP id 9FB75366111 for ; Sat, 23 Jul 2011 22:25:11 +0200 (CEST) Received: from lorvorc.mips.inka.de (dslb-094-218-179-100.pools.arcor-ip.net [94.218.179.100]) by mail-in-15.arcor-online.net (Postfix) with ESMTPS id 623371AB7E4 for ; Sat, 23 Jul 2011 22:25:11 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 623371AB7E4 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.5/8.14.3) with ESMTP id p6NKPA3c057562 for ; Sat, 23 Jul 2011 22:25:10 +0200 (CEST) (envelope-from mailnull@lorvorc.mips.inka.de) Received: (from mailnull@localhost) by lorvorc.mips.inka.de (8.14.5/8.14.5/Submit) id p6NKPAur057561 for freebsd-questions@freebsd.org; Sat, 23 Jul 2011 22:25:10 +0200 (CEST) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Sat, 23 Jul 2011 20:25:10 +0000 (UTC) Message-ID: References: <20110718104939.GA32254@sh4-5.1blu.de> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-questions@freebsd.org Subject: Re: groff && UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2011 20:25:13 -0000 Matthias Apitz 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 options with groff to automatically call preconv. -- Christian "naddy" Weisgerber naddy@mips.inka.de