Re: xmlentities

2005-02-07 Thread Fredrik Lundh
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 in

Re: xmlentities

2005-02-07 Thread Duncan Booth
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 ø > You could use cgi.escape to handle &, <, and > and then use error handling on un

xmlentities

2005-02-07 Thread Ola Natvig
Hi all 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 ø ola -- -- Ola Natvig <[EMAIL PROTECTED]> infoSense AS / developm