title: php shell_exec, in windows with Ñ letter ( latin)
body: <p>Im tryng to parse latin caracter, the path of a folder to ork arround it, creating files, deleting folders...
  the path is:
  c:\user\CAÑIZO
  and when try to get it from shwll_Exec</p>
  
  <pre><code>$path = shell_exec("pwd");
      echo $path;
  </code></pre>
  
  <p>this is my output:
  c:/user/CA├æIZO
  so when i try to use opendir method, it give me an error that didn't find the path...
  I`ve tried anythig, using icon, utf8-decode, utf8-encode.
  And windows tell me that my encoding is utf8 , but....
  And at last i cant rename my user of windows...</p>
  
  <p>I tried to write directly the folder path:</p>
  
  <pre><code>if(opendir('c:\user\CAÑIZO')) echo "great"; 
      else echo "bad";
  </code></pre>
  
  <p>And the same didt find..</p>
  
  <p>Any help is apreciated.</p>
  
  <p>thanks</p>