title: PHP: file_exists don't work when file name is in non-latin language
body: <p>i have the following code</p>
  
  <pre><code>    $file = WWW_ROOT."/upload/files/".$id.".plist";
  /* $file=iconv('utf-8', 'latin1', $file); */
  /*  print_r($file);exit; */
  if (file_exists($file)) {
    //downloading
  }
  </code></pre>
  
  <p>the problem occure when $id have something like جدة it can't find the file although it's exist .. what can i add to code to convert the $id to utf-8 and read the file on disk?</p>