ZipStrings is static. Can't use different encodings for different zip files #279
Labels
enhancement
Feature request or other improvements of existing functionality
help wanted
zip
Related to ZIP file format
This is proposal.
Today, ZipStrings class is static and encoding properties are static. This means I can't use different encodings for different ZipFile instances. In a multithreading environment it's very hard to use value that was set globally somewhere.
Proposal
use instance-wide encoding for a ZipFile class. Encoding must be an instance property of a ZipFile, not a global one.
Expected behavior
The text was updated successfully, but these errors were encountered: