mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
[PR #385] Fixed EFS flag handling #1002
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?
Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/385
State: closed
Merged: Yes
Fixed ArchiveEncoding to use CP437 as default encoding and UTF8 in case when Language encoding flag (EFS) is set.
Fixed DirectoryEntryHeader Name/Comment decoding to use ArchiveEncoding's Forced/Default/CustomEncoder if EFS flag is not set.
Tests fixed to use explicit use of 866 encoding because of file named in Russian usage in several tests.