Martin v. Löwis wrote:
>> Unless, obviously, you were serialising to a non-utf8 encoding. But since the
>> "toxml()" method seems to return unicode here (which sounds surprising), I
>> expect it a) to provide no XML declaration at all or b) to be broken anyway.
> 
> Or c) the user forgot to specify the encoding= parameter in toxml().

Then I would expect it a) to serialise to a UTF-8 compatible encoding that
does not require a declaration (which excludes Python unicode) or b) to be
broken. :)

Stefan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to