开发者

is_dir() with non-english characters

开发者 https://www.devze.com 2023-02-08 11:08 出处:网络
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开发者_JAVA百科 solutions

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开发者_JAVA百科 solutions to this case? Thanks


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

0

精彩评论

暂无评论...
验证码 换一张
取 消