dimanche 1 février 2015

Android Textview unable to display special characters?


Vote count:

0




I need to display data from sqlite with some special characters on it like for example,


myStr = "Testing123ʳ" (actual value is loaded from sqlite)


which contains a modifier letter small ʳ (U+02B3)


Refer to character info here http://ift.tt/15YEHGd


I have tried 1. myTextv.setText(Html.fromHtml(myStr)) 2. myTextv.setText("\u02B3)") 3. myTextv.setText(Html.fromHtml("ʳ"))


All doesn't work...



asked 1 min ago

Eddi

41






Android Textview unable to display special characters?

Aucun commentaire:

Enregistrer un commentaire