Make TextInput correctly handle multibyte chars.