title: mkdir utf-8 Cyrillic
body: <p>I need to create directories in utf-8 Cyrillic. i use <code>mkdir</code> function for this, then i try to do:</p>
  
  <pre><code>$img_dir = './img/product/'.htmlspecialchars($_POST['title']);
  if(!is_dir($img_dir)){
    mkdir($img_dir, 0700);
  };
  </code></pre>
  
  <p>in <code>$_POST['title']</code> i have titles of product something like that : "Кеды", "Макасины" but this function create folders with such names: "РљРµРґС‹","РњР°РєР°СЃРёРЅС‹".</p>
  
  <p>This is associated with the coding of my OS? How can i solve this problem?</p>