Re: "encoding" argument to xml.dom.minidom.toxml()?

Stefan Behnel <[email protected]> Tue, 10 Jun 2008 23:05:44 +0200
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Hi,

Bill Janssen wrote:
>> Well, what did you expect? That it magically transmogrifies your non-ASCII
>> data into plain ASCII data?
> 
> Yep.  And there's no reason I can see why it can't do exactly that.  I
> think the "encoding" argument should either be removed, or made to
> work.

That's why I asked if you tried other encodings. Obviously, you only tried
"UTF-8" and "ASCII". There's tons of other encodings out there, and I bet they
work just fine - as does "ASCII" (for ASCII data, that is).

Stefan
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig