Re: compare unicode to non-unicode strings
- From: John Machin <sjmachin@xxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 06:21:05 -0700 (PDT)
On Aug 31, 11:04 pm, Asterix <aste...@xxxxxxxxxxx> wrote:
how could I test that those 2 strings are the same:
'séd' (repr is 's\\xc3\\xa9d')
No, the repr is 's\xc3\xa9d'.
u'séd' (repr is u's\\xe9d')
No, the repr is u's\xe9d'.
To answer your question:
.
- References:
- compare unicode to non-unicode strings
- From: Asterix
- compare unicode to non-unicode strings
- Prev by Date: (in memory) database
- Next by Date: Re: Writing to ms excel
- Previous by thread: compare unicode to non-unicode strings
- Next by thread: (in memory) database
- Index(es):