On Tue, 30 Jan 2007 13:56:12 +0100, "Sebastien Armand [Pink]" <[EMAIL PROTECTED]> said: > - When I search something in my database, using icontains on a field, it > doesn't work when there are non-asccii characters: a product field may > contain (in french so with accents!!) télévision but when I look for > "télé" > I get a unicode error. If I look for "vision" everything works just fine. > Any idea why?
Sounds like one is a Unicode object and the other an encoded string (maybe UTF-8 or Latin-1). James -- James Tauber http://jtauber.com/ journeyman of some http://jtauber.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

