How many characters are possible for echocollect data base connection with the connection name and usernamepassword?

The name of the connection is limited to 30 chars. For usernamepassword are maximum each 16 characters allowed. The available special characters belong to ASCII-Code, others may are not supported.