title: Php application encoding problems from ISO-8859-1 to UTF-8
body: <p>I am trying to encode php application from ISO-8859-1 to UTF-8. Made a test copy of the application, ran the following iconv to recursively modify all files. </p>
  
  <pre><code>find . -type f -print -exec iconv -f iso8859-1 -t utf-8 -o {}.converted {} \; -exec mv {}.converted {} \;
  </code></pre>
  
  <p>The above did not really do the work. The code still has text like:</p>
  
  <pre><code>nÃ£o exibe nenhuma info durante a configuraÃ§Ã£o. serÃ¡ setado adequadadmente
  </code></pre>
  
  <p>With a test php script</p>
  
  <pre><code>&lt;?php
  $text = "nÃ£o exibe nenhuma info durante a configuraÃ§Ã£o. serÃ¡ setado adequadadmente";
  
  echo 'Original : ', $text, PHP_EOL;
  echo 'TRANSLIT : ', iconv("ISO-8859-1", "UTF-8//TRANSLIT", $text), PHP_EOL;
  echo 'IGNORE   : ', iconv("ISO-8859-1", "UTF-8//IGNORE", $text), PHP_EOL;
  echo 'Plain    : ', iconv("ISO-8859-1", "UTF-8", $text), PHP_EOL;
  
  ?&gt;
  </code></pre>
  
  <p>the output is:</p>
  
  <pre><code>Original : nÃ£o exibe nenhuma info durante a configuraÃ§Ã£o. serÃ¡ setado adequadadmente
  TRANSLIT : nÃƒÂ£o exibe nenhuma info durante a configuraÃƒÂ§ÃƒÂ£o. serÃƒÂ¡ setado adequadadmente
  IGNORE   : nÃƒÂ£o exibe nenhuma info durante a configuraÃƒÂ§ÃƒÂ£o. serÃƒÂ¡ setado adequadadmente
  Plain    : nÃƒÂ£o exibe nenhuma info durante a configuraÃƒÂ§ÃƒÂ£o. serÃƒÂ¡ setado adequadadmente
  </code></pre>