xmlentities

Fredrik Lundh fredrik at pythonware.com
Mon Feb 7 11:31:41 EST 2005


Ola Natvig wrote:

> Does anyone know a good library for transfering non standard characters to enity characters in 
> html. I want characters like < and > to be transformed to < and >. And the norwegian ø to 
> ø

the third example on

    http://effbot.org/librarybook/htmlentitydefs.htm

includes a function that translates an ISO-8859-1 encoded string to HTML-
encoded text.

</F> 






More information about the Python-list mailing list