is_dir() with non-english characters

314 Views Asked by At

In php, is_dir() function omits directories which contains non-english characters. ie. is_dir("C:\ekşi") is not directory according to the function but it is. Is there any solutions to this case? Thanks

1

There are 1 best solutions below

1
On BEST ANSWER

Sadly, this is no bug. Until PHP 6, no unicode caharcter support for this kind of operations.

Reference: http://www.php.net/manual/en/function.scandir.php#96140