I think we used to have a web site and online service where one or more special symbols that we might set in a user's temporary password would be misinterpreted when the user typed them in. Like $ (dollar) or £ (UK currency).
I didn't get to the bottom of that, but as far as possible, I set passwords to groups of 5 random lowercase letters, then a space, then five more letters, and so on. That's secure as long as there are enough letters, genuinely random (I do have a rule not to repeat the previous letter since I think at least once system insisted on that), and if a system also insists on mixed case, numbers, or symbols, it's just a
Ecnas iunyd olbnm admad 9.
If . doesn't work, then !
Oh, and some systems don't allow spaces in a password. And most don't tell you what they do and don't allow or require, until you start setting a password. But I have my letters set in advance. Using dice.