The problem is almost surely an invalid character in the text. If you are using any special characters, you will likely see this error.
This is particularly annoying if you've cut and pasted the text from somewhere. The only way to check this is to find a text editor that allows you to check against a limited set of characters.
The other option, of course, is to type everything out yourself into the text field manually, if possible.