Steps to reproduce the issue
Upload with FTP a file with the special character ß (it is like an double s in German) to /images/
Here is one in the zip. github would replace the ß on upload too.
Test.zip

Expected result
In general: The folder and image list is loaded.
With the problem: I would expect a message that there is a file with special characters or an error message with a hint.
Actual result
The image and folder list is not loaded.

System information (as much as possible)
Joomla 4.2.5 (updated from J3)
PHP 8.0
Maria DB 10.5
Additional comments
When you upload a file with ß in the media manager, the character ß is replaced by ss which is correct.
But if you have an old or updated site, there might be files with this char.
I am sure there is at least one open issue for this