[XML-SIG] unicode

Fred L. Drake, Jr. fdrake@acm.org
Fri, 10 Aug 2001 13:37:18 -0400 (EDT)


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=5470&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