>>> for i in "english" : ... print(hex((ord(i)))) ... 0x65 0x6e 0x67 0x6c 0x69 0x73 0x68 >>> u"english".encode("utf-8") 'english' >>> u"english".encode("ascii") 'english'
how can i get 656e676c697368 in encode method?
-- http://mail.python.org/mailman/listinfo/python-list