XML can't read Unicode shock horror. News at 11.
Paul Prescod
paulp at ActiveState.com
Thu Nov 1 00:57:49 EST 2001
Dale Strickland-Clark wrote:
>
> ...
>
> Is there any chance that this might be elevated?
>
> Non-unicode XML is a bit restrictive. :-(
I think Martin was trying to make the point that this works okay:
dom = xml.dom.minidom.parseString(u'<node/>'.encode("utf-8"))
I agree with you that minidom should probably do this automatically.
Paul Prescod
More information about the Python-list
mailing list