java - Android Display result in Hindi -


A message in my Android application is displayed in the text view and the message is taken from the server. Font in Hindi .. English language is being displayed correctly and when I try to add Hindi text ... ... ????? 'Displaying instead of text ..

I tried .. This code .. also ..

txt4 = (TextView) findViewById (R.id. TextView8); Typeface face = typeface.svg (getAssets (), "fonts / hindi.ttf"); Txt4.setTypeface (face);

Check details in the server, sometimes there may be problems due to special characters If you copy the text and paste it from anywhere, then this problem may occur. You can correct this situation by editing special characters and typing inside the table.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -