fork(19) download
  1. <?php
  2.  
  3. $file = "ação-íaaa.jpg";
  4. $file = iconv('UTF-8', 'ASCII//TRANSLIT', $file);
  5. echo "{$file} <br>";
  6.  
  7.  
  8. $file = "arquivoáéíóú.jpg";
  9. $file = iconv('UTF-8', 'ASCII//TRANSLIT', $file);
  10. echo "{$file} <br>";
  11.  
  12.  
  13. // your code goes here
Success #stdin #stdout 0.02s 20600KB
stdin
Standard input is empty
stdout
acao-iaaa.jpg <br>arquivoaeiou.jpg <br>