title: How to get the Php result encoded to UTF-8?
body: <p>I've looked around for a while and keep failing to get my website work with multiple languages (I'm trying to display in a drop down a list of languages that I have stored in my MySQL database).</p>
  
  <ol>
  <li>With Notepad++, I've changed all my (PHP) pages to <code>UTF-8 without BOM</code></li>
  <li>In my root folder of the server, I have the .htaccess with this: <code>AddCharset UTF-8 .php</code></li>
  <li>In my HTML Header of my pages, I have this:<code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;</code></li>
  <li>In my database, I have the a two column table (id|languages) with for the table, the "Collation" set to <code>uft8_unicode_ci</code>.
  On the "language" column, I have also set <code>uft8_unicode_ci</code> as Collation.</li>
  </ol>
  
  <p>Now, when I type: <code>echo("한국어 (ko)");</code> in my php file, it returns <code>한국어 (ko)</code></p>
  
  <p>But when I get the value from the query, I have something like <code>??????(ko)</code>.</p>
  
  <p>I tried to debug, thinking the problem came from the value in the db, but when I do <code>mb_detect_encoding($source_language);</code> , it returns <code>UTF-8</code>.</p>
  
  <p>What am-I doing wrong?</p>
  
  <p>Thanks!</p>