Html entities

Alex Martelli aleaxit at
Wed Mar 21 16:32:10 CET 2001

"Doug Fort" <dougfort at> wrote in message
news:3AB8BA56.9E41A333 at
> Syver Enstad wrote:
> > Is there an easy way to convert ISO Latin-1 characters that are above
> > ascii to their HTML, XML entity form?
> See 'htmlentitydefs' in the Python library

This maps entitydef->ISO-Latin-1-character -- you'll need to
'reverse the dictionary' for Syver's purposes.


More information about the Python-list mailing list