I just tried connecting my Pi 3B to a couple of different networks with spaces in the names.
Our guest network "IT Hertz when I.P." was fine.
I also successfully connected to my phone's hotspot "OnePlus Mobile (1025)"
So spaces, parenthesis and periods are fine. I've connected to networks with hyphens in the SSID as well.
Again, that was on a 3B with 2.4GHz WiFi and Raspbian Buster.
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups...and where is that annoying music coming from?