I am trying to read a raw text file with a non-english font and display the contents in a TextView. However, while reading I donot see the actual characters on the app. It displays special characters ...
Code being used is below .. // find the view TextView tv = (TextView)findViewById(R.id.japji); //reads the file as an InputStream String selectedBaani = readBaani(); tv.setText(selectedBaani); // Set the typeface using font used in raw file Typeface tf= Typeface.createFromAsset(getAssets(), GURMUKHI_FONT); tv.setTypeface(tf); Thx jaz -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

