As you talk about this, if I remember well, the database is UTF-8 but the web page which contains the form has no encoding declared. May this be the source of troubles?
2007/1/30, James Tauber <[EMAIL PROTECTED]>: > > > > 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 django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---