En Tue, 20 Mar 2007 20:47:22 -0300, Gerry <[EMAIL PROTECTED]> escribió:
> Thanks! - that helps a lot. > > I'm still mystified why: > qno was ever unicode, and why I can't tell... > qno.encode("ascii", "replace") is still unicode. That *returns* a string, but you are discarding the return value. Should be qno = qno.encode(...) It's similar to lower(), by example. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list