1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Displaying tamil fonts in php from mysql database problem

Discussion in 'MySQL' started by rekha, Sep 18, 2009.

  1. rekha

    rekha New Member

    Joined:
    Jan 17, 2008
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    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 a moderator: Sep 18, 2009
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    Add your links to your signature.
     
  3. sameer_havakajoka

    sameer_havakajoka New Member

    Joined:
    Sep 14, 2009
    Messages:
    271
    Likes Received:
    2
    Trophy Points:
    0
    Occupation:
    Sleeping
    Location:
    Hava Ke Paro Me
    try adding them into your fonts. local pc fonts.
     
  4. venami

    venami New Member

    Joined:
    Dec 26, 2008
    Messages:
    195
    Likes Received:
    10
    Trophy Points:
    0
    Occupation:
    Software Professional
    Location:
    India, Tamil Nadu, Cuddalore
    Home Page:
    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: தமிழ்
     
  5. venami

    venami New Member

    Joined:
    Dec 26, 2008
    Messages:
    195
    Likes Received:
    10
    Trophy Points:
    0
    Occupation:
    Software Professional
    Location:
    India, Tamil Nadu, Cuddalore
    Home Page:
    You can use these hex UNICODEs or their decimal equivalents. Both works.
     

Share This Page