|
@@ -183,6 +183,6 @@ public class FileZipUtil {
|
|
|
multipartFile.transferTo(tempPath); // 将MultipartFile内容写入临时文件
|
|
multipartFile.transferTo(tempPath); // 将MultipartFile内容写入临时文件
|
|
|
|
|
|
|
|
// 使用ZipFile读取临时文件
|
|
// 使用ZipFile读取临时文件
|
|
|
- return new ZipFile(tempPath.toFile(), Charset.forName(System.getProperty("sun.jnu.encoding")));
|
|
|
|
|
|
|
+ return new ZipFile(tempPath.toFile(), Charset.forName("UTF-8"));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|