Hi. Thanks for reporting.
It's only the menu NAME that is wrong? I mean, when you click the menu items, the correct folder and content displays? It looks like a problem on your server with PHP
basename and unicode (Chinese) characters. Basename normally returns the name from a path, for example
/windows/你好/ will return
你好, and that's how it works in our
demo also (see /tests/language/*), but on your server it's ignored.
This is reported as a bug in PHP, but I think it might be solved in newer versions:
https://bugs.php.net/bug.php?id=62119
If not, the solution would be to make sure the locale is set to
UTF-8. Your server is likely set to another locale, either ASCII or some Chinese variation? It should really be UTF-8, since Chinese characters are unicode (multibyte characters).
https://stackoverflow.com/questions/452 ... file-names
Same issue:
https://github.com/thephpleague/flysystem/issues/235
Else we may need to consider creating a wrapper function.