Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Chinese file name? #658

Open
codwam opened this issue Nov 24, 2022 · 2 comments
Open

Support Chinese file name? #658

codwam opened this issue Nov 24, 2022 · 2 comments

Comments

@codwam
Copy link

codwam commented Nov 24, 2022

Steps to reproduce

  1. Unzip a zip package containing Chinese file names

Expected behavior

Chinese file names can be correctly encoded

Actual behavior

Chinese file name is garbled

Version of ZipArchive

latest

Environmental information

@hippietrail
Copy link

Can you include an example?

Seeing exactly how it's garbled might help us to see if it's using one of the non-Unicode Chinese text encodings or is some other problem.

@Zzy0706
Copy link

Zzy0706 commented May 11, 2023

try this

let zipPath = url.path(percentEncoded: false)
SSZipArchive.createZipFileAtPath(zipPath, withContentsOfDirectory: sampleDataPath)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants