[XML-SIG] unicode
Mark McEahern
marklists@mceahern.com
Fri, 10 Aug 2001 11:16:49 -0700
Thanks, Fred.
That URL for cStringIO didn't work. I found it here:
http://www.python.org/doc/current/lib/module-cStringIO.html
// mark
-----Original Message-----
From: Fred L. Drake, Jr. [mailto:fdrake@acm.org]
Sent: Friday, August 10, 2001 10:37 AM
To: Mark McEahern
Cc: xml-sig@python.org
Subject: RE: [XML-SIG] unicode
Mark McEahern writes:
> Guess what? It worked without manually encoding the string as 'utf-8'.
> Does that mean the problem is in cStringIO? I guess I'm still not clear
on
> what the exact problem is. Is it that cStringIO only accepts ... what?
cStringIO does not accept Unicode; this is a known and documented
limitation. Adding "proper" support for Unicode in cStringIO is on my
list, but at a fairly low priority:
http://sourceforge.net/tracker/index.php?func=detail&aid=216388&group_id=547
0&atid=105470
The documentation is available at:
http://www.python.org/doc/current/module-cStringIO.html
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation