If you store Urdu, Arabic or a language other than English in your database, you must first convert your database to a different format, and then to a table.
first you need to convert the database encoding and also map the new database
ALTER DATABASE database_name CHARACTER SET utf8 COLLATE utf8_general_ci
then convert the table
ALTER TABLE table_name CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
after that, run a regular query
SELECT * FROM table_name WHERE Datas LIKE '%انسان%'
Note: if you do not convert your database and table of other languages, and special characters will be replaced by question marks .
source share