rekha_shp — 2009-09-18T03:32:30-04:00 — #1
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.
burnmind — 2009-09-18T21:07:46-04:00 — #2
Maybe it's a database collation problem, so make sure the collation of your new database is the same as the old one.
gobi4sound — 2010-05-02T01:36:09-04:00 — #3
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