I am trying to display Arabic text in an Android application, however the Arabic text is displayed as ???.
it works fine when i set the text of a TextField
directly from xml file using android:text="مثل"
, but when i try to set it from Java code mTextView.setText("مثل");
, it displays as question marks character (???).
According to this answer How to support Arabic text in Android?, Arabic is supported for Android 3.x and above.