XML can't read Unicode shock horror. News at 11.

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Oct 31 11:45:51 CET 2001


Dale Strickland-Clark <dale at riverhall.NOTHANKS.co.uk> writes:

> I see that this is probably the same as Python bug #216388 which has
> been around for over a year and been given a low priority (3).

It is not the same bug. Even if cStringIO supported Unicode objects,
expat would still require byte strings.

> Non-unicode XML is a bit restrictive. :-(

Why do you think so? XML documents are byte sequences, not character
strings. The *content* is Unicode; the document is not.

Regards,
Martin



More information about the Python-list mailing list