title: How do I use filesystem functions in PHP, using UTF-8 strings?
body: <p>I can't use <code>mkdir</code> to create folders with UTF-8 characters:</p>
  
  <pre><code>&lt;?php
  $dir_name = "Depósito";
  mkdir($dir_name);
  ?&gt;
  </code></pre>
  
  <p>when I browse this folder in Windows Explorer, the folder name looks like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>DepÃ³sito
  </code></pre>
  
  <p>What should I do?</p>
  
  <p>I'm using php5</p>