[XML-SIG] Expat, Unicode, and 1.6b1
Andrew Kuchling
akuchlin@mems-exchange.org
Thu, 17 Aug 2000 14:38:34 -0400
On Thu, Aug 17, 2000 at 10:32:48AM -0700, Walter Underwood wrote:
>So the XML in 1.6 will not return Python Unicode objects? If so,
>we'll probably stay with our tested mods to pyexpat.
Yes, it will. Parser objects have a .returns_unicode attribute, and
the handler functions are passed Unicode or UTF-8 strings depending on
the attribute's value. (Note to self: add this to the docs.)
Expat is not going into the Python CVS tree, though.
--amk