In my site I am storing tamil fonts into database and displaying it in php.I exported the data from the server and imported to another.Now the tamil content is not displaying properly.I have used the query and the meta tag
<META HTTP-EQUIV=”Content-Type” CONTENT=”text/html; charset=utf-8″>
mysql_query(’SET character_set_results=utf8′) in the php code before fecthing the record.
But still tamil fonts are not displaying.If anyone knows reply me.
Maybe it's a database collation problem, so make sure the collation of your new database is the same as the old one.
Please use the database field collation to "utf8_general_ci" and the use the following query before you fetching the records from DB
mysql_query("SET NAMES utf8");
Try this out