I have a database in PhpMyAdmin where it's caracter set is UTF-8 which doesn't display correctly (it contains weird symbols).
I tried following this solution here , but I still have the same problem. Also I tried this solution too: solution 2 but this didn't work . The last thing I did is export the database in to an SQL file then changing it with Notpad++ to encode UTF-8 and then importing this SQL file in to the database again, but nothing changed; the gebberish characters still exist.
I am using:
PhpMyAdmin ( wamp server version : 5.7.24 - MySQL)
Database caracter set : UTF-8 Unicode (utf8)
The colloation proprety in PhpMyAdmin :
utf8_general_ci
When I insert values in database like words in french (" é ") it works, but the old existing values returns just symbols and weird things like
contr├┤le
My application is coded using PHP and I start every connection to database with :
$db->exec("set names utf8");
I hope someone can guide me to how to solve this probelm I will appreciate it very much .