Skip to content
Advertisement

Tag: windows

glob() can’t find file names with multibyte characters on Windows?

I’m writing a file manager and need to scan directories and deal with renaming files that may have multibyte characters. I’m working on it locally on Windows/Apache PHP 5.3.8, with the following file names in a directory: filename.jpg имяфайла.jpg file件name.jpg פילענאַמע.jpg 文件名.jpg Testing on a live UNIX server woked fine. Testing locally on Windows using glob(‘./path/*’) returns only the first

Advertisement