title: Charset error, php smarty mysql
body: <p>I've recently come across a weird problem about the meta charset.</p>
  
  <p>If I don't set any charset in my header, all accent like é,è,à.. are show correctly (even var from php) except for text comming from my database are replace by a little question marks in a lozenge.</p>
  
  <p>If I set one of those(I tried both of them) charset in my header   </p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html" charset="iso-8859-15" /&gt;
  &lt;meta charset="UTF-8"&gt;
  </code></pre>
  
  <p>Text from my database is okay, but all the rest show the little question marks instead of the accent.</p>
  
  <p>My database character set is UTF-8 unicode, and Collation is UTF_8 general_ci.</p>
  
  <p>Note that I'm using smarty, but I did'nt change the charset in config cause his default is UTF-8.</p>