compare unicode to non-unicode strings

Asterix asterix at lagaule.org
Sun Aug 31 09:04:48 EDT 2008


how could I test that those 2 strings are the same:

'séd' (repr is 's\\xc3\\xa9d')

u'séd' (repr is u's\\xe9d')



More information about the Python-list mailing list