You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any ideas ?
I found out that there is a encoding parameter that could explain the issue, but even after trying something it didn't unzip correctly (I'm not a c# guy so I most likely did something wrong).
But suspect since data isn't UTF-8 encoded (most likely its 8859-1, not sure since its binary data).
entryNameEncoding
Type: System.Text.Encoding
The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names. https://msdn.microsoft.com/en-us/library/hh875102(v=vs.110).aspx
Thanks for creating the plugin!
However, it seems its not correct when unzipping binary files.
I tried creating a random file, and when comparing the original file with the unzipped version the files are different!
Since I could not find any examples online this is how the test file was created:
dd if=/dev/urandom bs=100k count=1 of=random.raw; zip test.zip random.raw
I can also provide the test files I used if that's easier for you.
Thanks!
The text was updated successfully, but these errors were encountered: