[Notes] zipInputStream use Java attention MALFORMED

Error:

MALFORMED

java.lang.IllegalArgumentException

 

1. Remember the cry catch easily find abnormal position

 

2. Use zipInputStream open the zip file can only be WINRAR standard format of zip, zip Fast 360 it is not open.

Source https://bbs.csdn.net/topics/370244526

 

3. Since ZipInputStream byte stream default is utf-8 encoding, so the encounter inside the zip file is the Chinese name being given, or is adapted to gbk encoding format

Source https://www.cnblogs.com/TimBing/p/4459788.html

 

Guess you like

Origin www.cnblogs.com/LPworld/p/11375562.html