title: How to Fetch Data in Hindi and Gujarati Language in MySQL?
body: <p>Below my code i try this solution but not work it. and also i give <strong>utf8_unicode_ci</strong> for hindi and <strong>utf8_bin</strong> for Gujarati Language in database Collation.</p>
  
  <p>Please Help me how i fetch data Hindi &amp; Gujarati Language.</p>
  
  <pre><code> &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8"&gt;
  &lt;?php
  session_start();
          require_once('config.php'); 
          $JSONoutput = array();
          $q=mysqli_query($con,"SELECT * FROM tbl_Hindi");
  
  
      header('Content-Type: text/html; charset=UTF-8');
              while($rs=mysqli_fetch_assoc($q))
              {
                  $JSONoutput['SMS'][] = array("ID"=&gt;$rs['ID'],"Message"=&gt;$rs['Message']);
              }
              print(json_encode($JSONoutput));
      ?&gt;
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>{"SMS":[{"ID":"1","Message":"?? ????? ?? ??? ???? ??, ???? ?? ???? ??? ?? ????? ?? ?? ???? ?? ??????"},{"ID":"2","Message":"???? ????? : ??? ???? ?? ? ????? ????? : shopping ???? ?? ??? ???? ????? : : ???? ?? ???? ? ????? ????? : ???? ??? ??? ?? Gf ?? ? ???? ????? : ?? ?? ??? ??? ?? ? ????? ????? : ?? ???? "}]}
  </code></pre>