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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 21/04/2012 06:58, Matthias Apitz wrote:
> Is there something in the port to convert UTF-8 text to HTML encondings,
> like:
> 
> $ echo ü | iconv -f utf-8 -t html
> &uuml;
> 
> 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

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



[-- Attachment #2 --]
-----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-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F925504.4090001>