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

Use system locale to select OEM code page… #64

Merged
merged 1 commit into from
Jul 20, 2020
Merged

Use system locale to select OEM code page… #64

merged 1 commit into from
Jul 20, 2020

Conversation

unxed
Copy link
Contributor

@unxed unxed commented Jul 17, 2020

… for zip archives made on dos/windows. This is just the same logic as windows internal zip archiver use. Can be overriden with OEMCP environment variable. *nix only currently.

…s/windows. Can be overriden with OEMCP environment variable.
@jinfeihan57
Copy link
Contributor

Thanks, I will check it later.

@jinfeihan57 jinfeihan57 merged commit e56ea97 into p7zip-project:dev Jul 20, 2020
@jinfeihan57
Copy link
Contributor

Thanks for your contribution.

@unxed
Copy link
Contributor Author

unxed commented Jul 20, 2020

"locale -> code page" translation table used in this code is generated from Wine sources, dlls/kernel32/nls, using this tool.

@unxed
Copy link
Contributor Author

unxed commented May 20, 2024

Better solution updated to also handle .zip archives with ANSI filenames can be found here:
https://sourceforge.net/p/sevenzip/bugs/2473/#2614

@unxed
Copy link
Contributor Author

unxed commented May 21, 2024

See #232 for updated version

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

Successfully merging this pull request may close these issues.

2 participants