mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Can't use custom decoder or default encoding for ZIP without UTF8 supporting #297
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saragulov on GitHub (May 14, 2018).
Originally assigned to: @adamhathcock on GitHub.
After fix https://github.com/adamhathcock/sharpcompress/pull/363 it became impossible to use custom decoder or default encoding for ZIP with null bit 11. However, archives created by Windows 10 tools do not use the IBM 437 encoding. It looks like they use the current user encoding. Previously, you could specify it as the default encoding and the names were decoded successfully. But now it doesn't work.
@saragulov commented on GitHub (May 14, 2018):
Example.zip
See this example zip archive.
@adamhathcock commented on GitHub (May 14, 2018):
You're right....I will fix this now.
@adamhathcock commented on GitHub (May 14, 2018):
@saragulov look at the PR and see if this works for you...I can merge and do a bugfix release if so. I believe using Forced to override seems correct.
@saragulov commented on GitHub (May 15, 2018):
Thank you for fix again. Can you do a bugfix release?
@adamhathcock commented on GitHub (May 15, 2018):
https://www.nuget.org/packages/sharpcompress/0.21.1
@saragulov commented on GitHub (May 15, 2018):
Thank you very much! Been waiting for the RAR5 support