Foreign characters don't display properly in MYSQL


I have a contact form which has some Turkish text inputs. Character
liks “ş” “ı” “ğ” and “ç” are not displaying in my DB correctly. Instead I
am getting bunch of weird characters. Meta charset is UTF8 on the form
page but I don’ t know what I am missing here. Any suggestions?


Have you set your DB connection to UTF-8?

No. I have only given accept-charset="UTF-8 attribute to my form. How should I set my DB connection to UTF-8?

Does anyone have any idea on how to fix this problem? My DB is also set to UTF-8 and I have checked everything but no luck…

Continued discussion at