title: php json_encode utf8 char problem ( mysql )
body: <p>I am writing to the database in the form of data from a form with jQuery <a href="http://php.net/json_encode" rel="noreferrer"><code>json_encode</code></a>.</p>
  
  <p>However, data from the database will corrupt.</p>
  
  <pre><code>$db-&gt;query("SET NAMES utf8");
  
  $kelime = array("Merhaba","Dünya");
  $bilgi = json_encode($kelime);
  
  $incelemeEkle = "
  INSERT INTO incelemeRapor SET
  bigData = '".$bilgi."'
  ";
  $db-&gt;query($incelemeEkle);
  </code></pre>
  
  <p>Database Table Schema;</p>
  
  <pre><code>CREATE TABLE `incelemeRapor` (
    `id` int(11) NOT NULL AUTO_INCREMENT,
    `bigData` text COLLATE utf8_unicode_ci,
    PRIMARY KEY (`id`)
  ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  </code></pre>
  
  <p>MySQL Inserted Example Data;</p>
  
  <pre><code>["Merhaba","Du00fcnya"]
  </code></pre>