Added support for text with combined characters.