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