これが古い質問であることは承知していますが、以前の回答に満足していません。私の質問は、UTF-8 または任意の手法を使用してフランス語の文字 (é、à など) を表示する方法です。
現在、これらは「?」を表示しています。
私のコードは次のとおりです。
InputStream is = null;
try {
if(CommonUtilities.prefs.getString("KEY_LOCALE", "fr").equalsIgnoreCase("fr")){
is = getAssets().open("terms_txt_fr.txt");
}else{
is = getAssets().open("terms_txt_en.txt");
}
String term_tx =convertStreamToString(is);
String valueUTF8 = new String(term_tx.getBytes(), "UTF-8");
terms_tx.setText(valueUTF8);
} catch (IOException e) {
e.printStackTrace();
}