[PR #31] [MERGED] implement info-zip unicode path extra field #795

Open
opened 2026-01-29 22:17:36 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/31
Author: @larvata
Created: 12/24/2014
Status: Merged
Merged: 12/24/2014
Merged by: @adamhathcock

Base: masterHead: implement-central-directory-header


📝 Commits (1)

  • f78e839 implement info-zip unicode path extra field

📊 Changes

5 files changed (+97 additions, -22 deletions)

View changed files

📝 SharpCompress/Common/Zip/Headers/DirectoryEntryHeader.cs (+7 -0)
📝 SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs (+7 -12)
SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs (+75 -0)
📝 SharpCompress/Common/Zip/Headers/ZipFileEntry.cs (+5 -8)
📝 SharpCompress/SharpCompress.csproj (+3 -2)

📄 Description

Winrar won't set 'general purpose bit flag' for unicode filename storage
but use 'extra field:Info-ZIP Unicode Path Extra Field' instead.

this patch implement an parser for info-zip unicode path extra field to get the correct filename.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/31 **Author:** [@larvata](https://github.com/larvata) **Created:** 12/24/2014 **Status:** ✅ Merged **Merged:** 12/24/2014 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `implement-central-directory-header` --- ### 📝 Commits (1) - [`f78e839`](https://github.com/adamhathcock/sharpcompress/commit/f78e83936567b3baf1e54e6568b68b993d5b1b85) implement info-zip unicode path extra field ### 📊 Changes **5 files changed** (+97 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `SharpCompress/Common/Zip/Headers/DirectoryEntryHeader.cs` (+7 -0) 📝 `SharpCompress/Common/Zip/Headers/LocalEntryHeader.cs` (+7 -12) ➕ `SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs` (+75 -0) 📝 `SharpCompress/Common/Zip/Headers/ZipFileEntry.cs` (+5 -8) 📝 `SharpCompress/SharpCompress.csproj` (+3 -2) </details> ### 📄 Description Winrar won't set 'general purpose bit flag' for unicode filename storage but use 'extra field:Info-ZIP Unicode Path Extra Field' instead. this patch implement an parser for info-zip unicode path extra field to get the correct filename. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:17:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#795