Problems while synchronisation with special characters

Hi,

Nextcloud is running smothly at our site since a long period.
Most Clients are runing with Ubuntu.

Now one user (rinning Windows) told my about problems in synchronisation.
It turns out those files contain special characters that are not forbidden in Ubuntu but forbidden in Windows.

Is there a way to automatically rename files with special characters that are forbidden in some OS?
I could not find a topic on yet.

Thank you so much!

Nextcloud version (eg, 20.0.5): 23.0.0
Operating system and version (eg, Ubuntu 20.04): dockerized nextcloud (Docker Hub)
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.4): 8.0.15

Greetings, Matthias