On Mar 20, 7:29 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 20 Mar 2007 19:35:00 -0300, Gerry <[EMAIL PROTECTED]> > escribió: > Thanks! - that helps a lot.
I'm still mystified why: qno was ever unicode, and why qno.encode("ascii", "replace") is still unicode. Gerry > > > py> qno = u"Q1" > py> qno > u'Q1' > py> print qno > Q1 > py> print (qno,2) > (u'Q1', 2) > > -- > Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list