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 &lt; and &gt;. And 
> the norwegian ø to 
> &oslash;

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> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to