title: unrecognizable characters utf8
body: <p>I just finished to create a web, but when i upload this web to the server, the web codification doesn’t take the accents, the accents like “ ´ ” or  “ ` “, over the inserted data on the database.</p>
  
  <p>I have been working on the programation on a eclipse running Windows, but the web server it’s based on Ubuntu.</p>
  
  <p>The configuration of the server it’s:</p>
  
  <p>Apache:
  I have modified the archive <code>/etc/apache2/conf.d/charset</code></p>
  
  <pre><code>AddDefaultCharset utf-8
  </code></pre>
  
  <p>Php5</p>
  
  <pre><code>Archive modified "/etc/php.ini"
  
  default_charset = "utf-8"
  </code></pre>
  
  <p>mysql</p>
  
  <pre><code>Archive modified “/etc/mysql/my.cnf”
  </code></pre>
  
  <p>[client]</p>
  
  <pre><code>default-character-set=utf8
  </code></pre>
  
  <p>[mysql]</p>
  
  <pre><code>default-character-set=utf8
  </code></pre>
  
  <p>[mysqld]</p>
  
  <pre><code>init_coonect='SET collation_connection = utf8_general_ci'
  init_coonect='SET NAMES utf8'
  character-set-server=utf8
  collation-server=utf8_general_ci
  </code></pre>
  
  <p>And when I check the variables of mysql with the comand show variables like “%character%”; it returns me all utf8.</p>
  
  <p>html5:</p>
  
  <pre><code>&lt;meta charset="utf-8"&gt;
  </code></pre>
  
  <p>create and save the archives in <code>utf8</code>
  I save the archives in utf8</p>
  
  <p>When i check the answer of http header, this answer me content-type text/html;</p>
  
  <pre><code>charset=utf8
  </code></pre>
  
  <p>Mysql connections</p>
  
  <pre><code>mysql_set_charset(“utf8”,$conectar_BD);
  </code></pre>
  
  <p>As you can see, all it’s correct, what i’m doing wrong??
  Like i said before, there are two rare things.</p>
  
  <p>1 If i insert the name of user with accent “´”, when I print by screen the variable that contains the name from the variable session[‘name’] it works correct, but when i print from the object it show’s a pity characters</p>
  
  <p>2 How i commented before, if I do the consultation of the db on my local computer it show a correct caracters, but if i do the same consultation from the server no.</p>