I fill a TextView like this:

TextView instructions=(TextView)
findViewById(R.id.batteryInstructionsText);

try {
    InputStream instrStr=res.openRawResource(R.raw.instructionsfile);
    byte [] text=new byte[580];
    int i=instrStr.read(text);
    instructions.setText(new String(text).substring(0, i));
} catch (Exception e) {
    instructions.setText(res.getString(R.string.instrerror));
}

The problem is that instead of accented letters (à, è, é, ù, ò..) a
question mark is displayed.
How can I solve this?
Simone

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to