Hello,

There's nothing in google about doctrine and search for ut8 strings
like :

$query->addWhere('LOWER(r.' . $field . ') LIKE ? ', '%ré%');

All my encoding settings are properly configured but then I got an
exception about the character é not found.

And if I try to do for example :

$query->addWhere('LOWER(r.' . $field . ') LIKE ? ', '%'.mb_strtolower
('ré', 'utf-8').'%');

Then the é character is stripped so I got too much results.

Does anybody have faced such problems ? Do I have forgotten something
in the encoding settings (files, symfony, doctrine encoding, etc.) ?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to