Stored non-English characters, got '?????' - MySQL Character Set issue
问题 My site that I am working on is in Farsi and all the text are being displayed as ????? (question marks). I changed the collation of my DB tables to UTF8_general_ci but it still shows ??? I ran the following script to change all the tables but this did not work as well. I want to know what am I doing wrong <?php // your connection mysql_connect("mysql.ord1-1.websitesettings.com","user_name","pass"); mysql_select_db("895923_masihiat"); // convert code $res = mysql_query("SHOW TABLES"); while (