-
if use the password "我是密碼" on winrar to a zip file。 zip.js can't read file data in zip file |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
What is the encoding of the password? zip.js expects passwords to be encoded in UTF-8. |
Beta Was this translation helpful? Give feedback.
-
Can you unzip the file with the password |
Beta Was this translation helpful? Give feedback.
-
Is it because the password is not a UTF8 issue? |
Beta Was this translation helpful? Give feedback.
-
I added an optoon |
Beta Was this translation helpful? Give feedback.
https://unpkg.com/[email protected]/index.js
demo can make
rawPassword = entry.filenameUTF8==false&&commentEncoding=='gbk'?str2gbk(password):I.encode(password);