我尝试显示部分的符号(“ § ”)然后它将显示未知符号。我尝试了很多但我没有得到。请任何人都可以帮助我。
Code
builder.setMessage(readEula(activity));
私人静态 CharSequence readEula(活动活动){
BufferedReader in = null;
try
{
in = new BufferedReader(new InputStreamReader(activity.getAssets().open(ASSET_EULA)));
String line;
StringBuilder buffer = new StringBuilder();
while ((line = in.readLine()) != null) buffer.append(line).append('\n');
return buffer;
}
catch (IOException e)
{
return "";
}
finally
{
closeStream(in);
}
}
谢谢。