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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

excel vba - VBA Proxy auto-configuration for http requests -

php - phpWord - Tables with borders in headers/footers -