Fixed handling of some illegal characters in sentences.