I think you need
        u.encode('utf-8')
.encode() turns unicode into a byte string, .decode() turns a byte string into
unicode.

Jeff

Attachment: pgpCGSuYcXhRF.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to