Check for illegal arguments to the toASCII func