Is there any way I can write a select
query with where
clause, that ignores non-latin characters?
For example there is Lithuanian character Ė
, obviously the equivalent in latin character would be E
. So is there anyway I can write a query like this:
SELECT * FROM `table` WHERE `keyword` LIKE %E%;
And I want it to return all records that contain any of these characters: E,Ė,Ę
, is there any way I can achieve this automatically with SQL (or even in PHP level)?