Support unicode in text field.

Part of STUD-868