67,512
社区成员
发帖
与我相关
我的任务
分享
zipFile = new ZipFile(zipFileName,"GBK");
ZipFile zipFile = new ZipFile("d:\\test.zip");
Enumeration e = zipFile.getEntries();
ZipEntry z = null;
while (e.hasMoreElements()) {
z = (ZipEntry) e.nextElement();
String filepath=z.getName();
System.out.println(new String(filepath.getBytes("ISO-8859-1"),"UTF-8"));
}