accent letters in xml

Alessio Pace puccio_13 at yahoo.it
Fri May 2 09:40:41 EDT 2003


[..]
> 
> Notice that these entities are predefined in HTML, but not predefined
> in XML. So your document is invalid, as it does not refer to a DOCTYPE
> that defines these entities.
> 
> I recommend that you use the UTF-8 representation of these characters,
> instead of entity references.

This did *not* work.

 If this is not possible, you may use
> character references (i.e. à è and so on)

This did work  :-)
I had to encode the returned string in 'iso-8859-1'  also. 

> 
> Regards,
> Martin

Thank you.

-- 
bye
Alessio Pace




More information about the Python-list mailing list