That's what Zip Smart Group(s) does when local_DropboxSafe = 1. Both the name of the macro groups and the macros are cleansed (a.k.a. sanitized).
IMO, to be this conservative, would be overkill particularly with trends moving in support of unicode. But if I was arguing this conservative position, I'd even avoid -
.
macOS, Keyboard Maestro export commands, and Zip Smart Group(s) increment as follows to avoid collisions:
abc.txt
abc 2.txt
abc 3.txt
@ronald, if you so inclined to cleanse your macros and macro groups within the Keyboard Maestro editor, there are shell script functions within Zip Smart Group(s) that could be used in combination with macro renaming steps. Note again, I'm not suggesting you do that, but if you are really motivated to do so, that shell logic could be a start.