documentation for add group script add user script delete user script delete group script add machine script add user to group script delete user from group script set primary group script doesn't define what characters can occur in "group" and "username" on input into these script.
The 'unix charset' (as documented) is used when doing any interfacing with the OS or scripts in the OS. Documenting this for every parameter that is related seems a bit overkill.