[XML-SIG] converting iso8859-1 to UTF-8

Alexandre Fayolle alf@logilab.com
Mon, 25 Sep 2000 13:12:20 +0200 (CEST)


I'm using python 1.5.2 and pyxml0.5.5.1, I'm encountering a encoding
problem with 4DOM. I can use
document.createTextNode(string) with a iso-8859-1 string. However when I
use xml.dom.ext.Print, everything fails, because the text node is not
UTF-8 encoded. How can I convert iso-8859-1 strings to UTF-8 ?

Alexandre Fayolle
http://www.logilab.com - "Mais oł est donc Ornicar ?" - 
LOGILAB, Paris (France).