Decoding numerical and name based HTML entities

Pieter Claerhout Pieter.Claerhout at Creo.com
Thu Mar 25 11:31:35 EST 2004


Hi all,

what would be the easiest way in Python to decode HTML entities to a unicode
string? I would need a function that supports both numerical as well as name
based HTML entities.

I already did some googling, but I only found a function that decoded
numerical ones, and this function didn't support unicode...

Cheers,


pieter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040325/6238d4af/attachment.html>


More information about the Python-list mailing list