dispaly unicode character - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: dispaly unicode character (/showthread.php?tid=33716) |
dispaly unicode character - El Forum - 09-06-2010 [eluser]Volkscom[/eluser] hi, I have to display malayam unicode character in browser.When I tried the usual way ,i.e.,include the following line in meta tag <META http-equiv=content-type content="text/html; charset=UTF-8"> but it's not working!. Then I coded like this in controller,the matter stored in data table in MYSQL database. class controller_name extends Controller{ function disp_val(){ echo '<html> <head> <META http-equiv=content-type content="text/html; charset=UTF-8"> <title>ePAY KERALA - Utility Payments,Classifieds Advertisements</title> </head> <body> <table> <tr><th>Matter</th></tr>'; $query_val="SELECT * FROM mytable where pid >50"; $result_val =$this->db->query($query_val); foreach($result_val->result() as $row){ echo "<tr><td>".$row->matter."</td></tr>"; } echo"</table> </body> </html>"; } } This function shows like this: വണàµà´¡à´¿ േകടായി need 2+yrs experienced php developer àµàµà´ªàµ‡àµ àµà´°à´°àµàµà´ªà´¿ àµàµà´ªàµ‡àµà´¿àµ ചചജഗകതേിൈജദജൌീലലോപകി രപരിàµà´— need a2+yrs experienced vb programmer need 6+yr experienced sysytem administrator hello to all Can any one help me to display utf-8 character. Thanks in advance!....... dispaly unicode character - El Forum - 06-02-2011 [eluser]Unknown[/eluser] If you are using older versions of ODBC as database driver then , it wont support unicode characters |