Added support for Unicode chars in text fields