utf 8 - Android: Japanese/Chinese Character not displayed -


i want kanji text of button in android application.

i used several kanjis button labels far (assigned via android:text in .xml file) , no problem, character:

is reason not displayable. not sure problem is? suppose japanese kanji-character, assumedly used in chinese. ideas why not displayable? defined this:

      <button                 android:id="@+id/radical_162"                 android:layout_width="0dp"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:text="⻌" /> 

u+2ecc "cjk radical simplified walk", chinese (han script) character. japanese kanji chinese characters, latin letters shared across lot of western languages.

when displaying unicode character, if font being used not support character, typically gets rendered square box.

for android pre-ice cream sandwich, droid font (e.g. droid sans) used system font. ice cream sandwich , later, roboto font used. both of these fonts have poor unicode character coverage (e.g. not full set of unicode 3.0 characters available). other people have reported different chinese , other characters missing.

there chinese language packs android, don't know whether these add support cjk glyphs in system font.

the other option root phone/tablet , replace system font 1 has better unicode coverage.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -