i'm trying display specific unicode character("\u24ba",Ⓔ)
receive api , try display in textview.
the display work on android 5+. however, when try on android 4.2 , 4.4 got different behavior.
android 4.2 replace character empty string. android 4.4 replace character uppercase e.
my initial though android 4+ font doesn't handle unicode character , decided implement typeface roboto_medium.ttf
typeface medium = typeface.createfromasset(context.getassets(), "roboto-medium.ttf"); name.settypeface(medium); name.settext("Ⓔ"); or name.settext(html.fromhtml("\u24ba");
i got exact same result describe above.
any idea ?
Comments
Post a Comment