ananasman / winzipaes

Automatically exported from code.google.com/p/winzipaes
0 stars 0 forks source link

I18N issue #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As you know, WinZip AES does not support encoding-specified zip entry
names. I googled and found that Apache Commons Compress library which using
Apache Ant's zip library can deal with the encoding parts.

I checked out the source code of winzipaes project, and found it using
java.util.zip.* libraries to create zip file. And then encrypt it.

I tried to modify the source code to migrate with Apache Commons Compress
lib, but I failed at the ZipFileEntryInputStream#nextEntry() method. When
the encoding is a Japanese encoding name, then an IOException will be
thrown, with message like following:

if( !Arrays.equals(intBuffer, new byte[] { 0x50, 0x4b, 0x03, 0x04 }) ) {
    throw new IOException("wrong local file header signature - value=" +  
  ByteArrayHelper.toString(intBuffer) );
}

Could you give me a way to contact you, such as email address, and I want
to talk about it with you. 

Thanks so much.

Original issue reported on code.google.com by zhangzho...@gmail.com on 14 Sep 2009 at 7:55

GoogleCodeExporter commented 8 years ago
mail sent to zhangzhongl / no request yet

Original comment by olaf.merkert on 26 Sep 2009 at 4:24