samedi 6 août 2016

Check if String contains unicode character Android

I have TextView which always displays first letter from String. So the code looks like that:

textView.setText(string.substring(0,1));  

But unfortunately it's not displaying unicode sign if the first sign in String is unicode sign. How can I fix that?

Aucun commentaire:

Enregistrer un commentaire