I think you need u.encode('utf-8') .encode() turns unicode into a byte string, .decode() turns a byte string into unicode.
Jeff
pgpCGSuYcXhRF.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list
I think you need u.encode('utf-8') .encode() turns unicode into a byte string, .decode() turns a byte string into unicode.
Jeff
pgpCGSuYcXhRF.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list