Re: sql using characters like é and ã

fumanchu fumanchu at
Tue Dec 13 16:48:47 CET 2005

Diez B. Roggisch wrote:
> "Select * from table where name like '%s%%'" %
> "José".decode("latin-1").encode("utf-8")

Make it easy on yourself and encode the whole statement:


Robert Brewer
System Architect
Amor Ministries
fumanchu at

More information about the Python-list mailing list