Unicode support for android

前端 未结 7 800
春和景丽
春和景丽 2020-12-08 22:43

I am new in android. I want to know does android support Unicode. If yes, then how can we use it through java code. I have written a program

TextView tv = ne         


        
7条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 23:15

    Android does support Unicode, but the fonts included don't cover all Unicode characters, and the rendering doesn't support all types of scripts. In particular, the included fonts only cover Western European (Latin), Cyrillic, Greek, and CJK characters. Even if you install new fonts, it appears that Android does not properly support some forms of indic text layout like Devanagari, as mentioned in bug 4153. I'm not familiar enough with the Bengali script to know if it requires any sort of special rendering like Devanagari does, but if it does, then it is likely not supported on Android even if you install a font that supports it.

提交回复
热议问题