title: arabic language not inserting in mysql database
body: <p>I am using MySQL database to store Arabic records, issue is when i am trying to insert records using <code>MySQL insert query</code> it will convert like this in database <code>&amp;#1587;&amp;#1593;&amp;#1608;&amp;#1583;</code> instead of Arabic word.</p>
  
  <p>After google it, i found that need to set collation. So i set it to <code>utf8_general_ci</code> , <code>utf8mb4_unicode_ci</code> and many other. Also i tried this before <code>insert query</code></p>
  
  <pre><code>mysql_query("SET NAMES utf8;");
  mysql_query("SET CHARACTER_SET utf8;");
  </code></pre>
  
  <p>But not worked for me, Still it inserting <code>&amp;#1587;&amp;#1593;&amp;#1608;&amp;#1583;</code> in database. Where i am doing wrong?</p>