converting UTF-8 to HTML

Matthew Seaman matthew at FreeBSD.org
Sat Apr 21 06:34:58 UTC 2012


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
> ü
> 
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120421/56ebc564/signature.pgp


More information about the freebsd-questions mailing list