I think it was using StringIO. My default python encoding was ASCII, so I changed that, and it ended up solving my problems, so I haven't looked further into this, but I assume that while all of the pieces were unicode to start with, Python was converting some of them to ASCII earlier on. I believe I'm getting the hang of this encoding thing, but don't quote me on that.
Alec On 8/10/05, Stephan Richter <[EMAIL PROTECTED]> wrote: > On Tuesday 09 August 2005 14:17, Alec Munro wrote: > > I've been having some unicode troubles, so I put a print statement in > > the StringIO class, and it seems that everything is type 'str', rather > > than unicode. Is this how it is supposed to be? > > cStringIO only supports str, not unicode. Use StringIO instead. > > Regards, > Stephan > -- > Stephan Richter > CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) > Web2k - Web Software Design, Development and Training > _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users