compare unicode to non-unicode strings

Asterix asterix at lagaule.org
Sun Aug 31 15:04:48 CEST 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