title: Saving malayalam text to database
body: <p>I want to save the malayalam text I have entered into a textarea to mysql. But when I try to accept the malayalam content on form submission it is returning like à´¾àµ€àµ‚à´¬à´—à´—à´œà´œ characters. However I have used utf-8 encoding. Can anyone help me. The code I have done is as follows:</p>
  
  <pre><code>&lt;?php
  $dbLink = mysql_connect('localhost', 'root', 'root');
  mysql_query("SET character_set_results=utf8", $dbLink);
  mysql_query("SET character_set_connection=utf8", $dbLink);
  mb_language('uni');
  mb_internal_encoding('UTF8');
  mysql_select_db('test',$dblink);
  mysql_query("set names 'utf8'",$dbLink);
  if(isset($_POST['txt1']))
  {
  $txt= $_POST['txt1']; // get the unicode text from a submit action. 
  $cQry= "insert into news (news) values ('$txt')" ; 
  $cresult = mysql_query($cQry,$dbLink); 
  }
  ?&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  &lt;meta charset="utf-8" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;input type="hidden" id="MicrosoftILITWebEmbedInfo" attachMode="optout" value=""&gt;
  &lt;script type="text/javascript"  src="http://ilit.microsoft.com/bookmarklet/script/Malayalam.js" defer="defer"&gt;&lt;/script&gt;
  &lt;form action="" method="post" accept-charset="utf-8"&gt;
  &lt;textarea rows="10" charset="utf-8" cols="20" name="txt1"&gt;&lt;/textarea&gt;
  &lt;input type="submit" value="Submit"&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thankyou in advance.</p>