I’ve a PHP script and MYSQL database.
In this database, I’ve a lot of entries, in French, English, Chinese, Russian, …
I would like a php function to return true, if the $var contains other characters of latin (so, russian, chinese, …)
Euro, Dollars, and specials characters should’nt return false, but true.
I’ve tried with iconv, mb_check_encoding, but no way, the russian (and other) is converted to : “????????”
Could you help ?
Thanks
I had to do something similar for work, and (with help) came up with this: