Problem: Buffer overflow when using latin1 character with feedkeys(). Solution: Check for an illegal character. Add a test.