From owner-freebsd-questions@FreeBSD.ORG Sat Apr 21 06:34:58 2012 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 B1BD51065676 for ; Sat, 21 Apr 2012 06:34:58 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9A68FC19 for ; Sat, 21 Apr 2012 06:34:57 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q3L6YpxY040246 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 21 Apr 2012 07:34:52 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q3L6YpxY040246 Authentication-Results: smtp.infracaninophile.co.uk/q3L6YpxY040246; dkim=none (no signature); dkim-adsp=none Message-ID: <4F925504.4090001@FreeBSD.org> Date: Sat, 21 Apr 2012 07:34:44 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Matthias Apitz References: <20120421055823.GA6788@tinyCurrent> In-Reply-To: <20120421055823.GA6788@tinyCurrent> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA78649E18B53ED4637626585" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@FreeBSD.org Subject: Re: converting UTF-8 to HTML 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, 21 Apr 2012 06:34:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA78649E18B53ED4637626585 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 21/04/2012 06:58, Matthias Apitz wrote: > Is there something in the port to convert UTF-8 text to HTML encondings= , > like: >=20 > $ echo =FC | iconv -f utf-8 -t html > ü >=20 > of the encondings in hex based on the codepoint? www/tidy-devel (which is effectively a fork of the original www/tidy project, and has quite a lot of new functionality) If you specify 'ascii' for the output format, it should generate appropriate character escapes. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigA78649E18B53ED4637626585 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+SVQsACgkQ8Mjk52CukIxXhACfQ0J+c7de9iWRE5nEGMIT+EfP UZ8AnjL/MegnmMCf6GAOUxcR97BmuLin =y8xD -----END PGP SIGNATURE----- --------------enigA78649E18B53ED4637626585--