Displaying tamil fonts in php from mysql database problem

Contributor
18Sep2009,13:08   #1
rekha's Avatar
Hi,

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

Code:

<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.

Regards
Rekha

Last edited by shabbir; 18Sep2009 at 18:40.. Reason: Confine links to signatures only
Go4Expert Founder
18Sep2009,18:40   #2
shabbir's Avatar
Add your links to your signature.
Skilled contributor
19Sep2009,21:11   #3
sameer_havakajoka's Avatar
try adding them into your fonts. local pc fonts.
Ambitious contributor
3Dec2009,18:09   #4
venami's Avatar
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;
Ambitious contributor
3Dec2009,18:15   #5
venami's Avatar
You can use these hex UNICODEs or their decimal equivalents. Both works.