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

unzOpen does not open chinese or japanese filenames #941

Open
aditya1331 opened this issue Feb 27, 2024 · 3 comments
Open

unzOpen does not open chinese or japanese filenames #941

aditya1331 opened this issue Feb 27, 2024 · 3 comments

Comments

@aditya1331
Copy link

The const wchar* argument for unzOpen in the previous version which is changed to const char* pointer make it difficult to identify file names apart from english. Please suggest if there is any work around deviced.

@aditya1331
Copy link
Author

Additionally the conversion form const wchar_t* to const char* will return blank if it is for other language apart from english.

@madler
Copy link
Owner

madler commented Aug 1, 2024

What previous version exactly? I don't think wchar_t was ever used in minizip.

@aditya1331
Copy link
Author

I'm speaking of zlib 1.2.3. In the file unzip.h, it is declared as " extern unzFile ZEXPORT unzOpen OF((const wchar_t *path)); ". I would like to know if there is any other alternative to return the object unzFile with w_char filepath.

Thanks in advance

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

2 participants