Displaying tamil fonts in php from mysql database problem

rekha's Avatar

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.


Last edited by shabbir; 18Sep2009 at 18:40.. Reason: Confine links to signatures only
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Add your links to your signature.
sameer_havakajoka's Avatar
Skilled contributor
try adding them into your fonts. local pc fonts.
venami's Avatar, Join Date: Dec 2008
Ambitious contributor
While trying to use Tamizh fonts for my webpage, I used the UNICODEs to display as well as to store the values in the MySQL database. I just inserted the UNICODE strings into the database and fetched as ordinary strings.

Sample UNICODE: &#x0BA4;&#x0BAE;&#x0BBF;&#x0BB4;&#x0BCD;
venami's Avatar, Join Date: Dec 2008
Ambitious contributor
You can use these hex UNICODEs or their decimal equivalents. Both works.