Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MySQL (http://www.go4expert.com/forums/mysql-forum/)
-   -   Displaying tamil fonts in php from mysql database problem (http://www.go4expert.com/forums/displaying-tamil-fonts-php-mysql-t19473/)

rekha 18Sep2009 13:08

Displaying tamil fonts in php from mysql database problem
 
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

shabbir 18Sep2009 18:40

Re: Displaying tamil fonts in php from mysql database problem
 
Add your links to your signature.

sameer_havakajoka 19Sep2009 21:11

Re: Displaying tamil fonts in php from mysql database problem
 
try adding them into your fonts. local pc fonts.

venami 3Dec2009 18:09

Re: Displaying tamil fonts in php from mysql database problem
 
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 3Dec2009 18:15

Re: Displaying tamil fonts in php from mysql database problem
 
You can use these hex UNICODEs or their decimal equivalents. Both works.


All times are GMT +5.5. The time now is 19:23.