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

后端 未结 3 2235
面向向阳花
面向向阳花 2020-12-13 19:03

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条回答
  •  孤街浪徒
    2020-12-13 19:36

    PHP on windows does not use the Unicode API yet. So you have to use the runtime encoding (whatever it is) to be able to deal with non ascii charset.

提交回复
热议问题