How can I use filesystem functions in PHP, using UTF-8 strings?

Posted by Acacio Nerull on Stack Overflow See other posts from Stack Overflow or by Acacio Nerull
Published on 2009-10-06T14:10:44Z Indexed on 2010/04/21 7:33 UTC
Read the original article Hit count: 267

Filed under:
|
|
|
|

I can't use mkdir to create folders with UTF-8 characters.

<?php

$dir_name = "Depósito";
mkdir($dir_name );

?>

But, when I browse this folder in Windows Explorer, the folder name looks like this:

Depósito

What should I do?

© Stack Overflow or respective owner

Related posts about php

Related posts about filesystems