如题:
系统lang=LANG=en_AU.UTF-8
test程序如下:
try {
File list = new File(args[0]);
File[] all = list.listFiles();
for(int i = 0;i<all.length;i++){
File temp = all[i];
FileInputStream in = new FileInputStream(temp);
byte[] tempByte = new byte[8];
in.read(tempByte);
}
} catch (Exception e) {
System.out.println("error :"+e);
}
抛出错误:
error :java.io.FileNotFoundException: /movies/test/锟斤拷锟斤拷执锟斤拷.mp3 (No such file or directory)
系统lang=LANG=en_AU.UTF-8
test程序如下:
try {
File list = new File(args[0]);
File[] all = list.listFiles();
for(int i = 0;i<all.length;i++){
File temp = all[i];
FileInputStream in = new FileInputStream(temp);
byte[] tempByte = new byte[8];
in.read(tempByte);
}
} catch (Exception e) {
System.out.println("error :"+e);
}
抛出错误:
error :java.io.FileNotFoundException: /movies/test/锟斤拷锟斤拷执锟斤拷.mp3 (No such file or directory)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货