java - Arabic text displayed as ??? in Android -
i trying display arabic text in android application, arabic text displayed ???.
it works fine when set text of textfield
directly xml file using android:text="مثل"
, when try set java code mtextview.settext("مثل");
, displays question marks character (???).
according answer how support arabic text in android?, arabic supported android 3.x , above.
if android:text
works fine , setting code not, source files (*.java) not using utf-8 encoding. need check editor/ide settings - android studio go settings
-> editors
-> file encodings
, check files , project encoding.
Comments
Post a Comment