如何让这个输入流读取 ISO-8859-15 编码文件?
BufferedReader r = new BufferedReader(new InputStreamReader(getResources().openRawResource(R.raw.jet)));
我发现这条线似乎有效:
BufferedReader br = new BufferedReader(new InputStreamReader(ftp.getInputStream(), "ISO-8859-15"));
但
BufferedReader r = new BufferedReader(new InputStreamReader(getResources().openRawResource(R.raw.jet), "ISO-8859-15"));
才不是。