Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Apr 2012 07:34:44 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: converting UTF-8 to HTML
Message-ID:  <4F925504.4090001@FreeBSD.org>
In-Reply-To: <20120421055823.GA6788@tinyCurrent>
References:  <20120421055823.GA6788@tinyCurrent>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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
> &uuml;
>=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--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F925504.4090001>