Added conversion of string to codepoints for Text class.