比如
File f1= new File("中国.txt");
String str= new String(f1.getName().getBytes("ISO-8859-1"),"GBK")我在 android 系统里str读出来的 都是乱码, GBK和 utf-8 我都试过了,都是乱码,望各位大虾帮助File f1= new File("中国.txt");
String str= new String(f1.getName().getBytes(),"GBK") 也是乱码,String str= new String(f1.getName().getBytes(),"utf-8")也是乱码求教