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
If you create a ZIP file in Windows, and you use a password with non-ASCII characters to encrypt it, its password encoding may not be in Unicode. Therefore, libzip will not be able to decrypt the file.
Solution
I hope libzip can offer a parameter which does the same thing as The Unarchiver's -E/-password-encoding parameter.
libzip just takes the bytes as given and does not check any encoding. The only assumption it makes is that the password can be passed to strdup, i.e. there are no NUL bytes in it.
Description
If you create a ZIP file in Windows, and you use a password with non-ASCII characters to encrypt it, its password encoding may not be in Unicode. Therefore, libzip will not be able to decrypt the file.
Solution
I hope libzip can offer a parameter which does the same thing as The Unarchiver's
-E
/-password-encoding
parameter.See also: Repo of the XADMaster library, used by The Unarchiver
Additional information
Test files can be found in KDE Bug 393901 Comment 6.
Steps to reproduce
hello_cp1250.zip
.hello_cp1250.zip
with the passwordžena
.It will fail because the password is in cp1250 encoding.
The text was updated successfully, but these errors were encountered: