mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
OS specific invalid characters are causing extraction to corrupt file #646
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 @DineshSolanki on GitHub (Jul 24, 2024).
https://www.deviantart.com/zenoasis/art/Japanese-TV-Dorama-folder-icon-pack-162-1077192465

Download zip from there
Extract using SharpCompress,
we'll see that the files
REAL 恋愛殺人捜査班 : Real - Renai Satsujin Sosa Han.pngandあの子の子ども : My Girlfriend's Child.pngare extracted as 0 byte file with following namesREAL µüïµä¢µ«║Σ║║µì£µƒ╗τÅ¡,πüéπü«σ¡Éπü«σ¡Éπü¿πéÖπééI also tried with IBM437 encoding but same result.
However when you extract using 7zip you can see that it extracts fine and 7zip makes some changes to file name - which seeems to be removing
:character which might be eitherU+A789orU+2236filenames from 7zip extraction
REAL 恋愛殺人捜査班 _ Real - Renai Satsujin Sosa Han.png,あの子の子ども _ My Girlfriend's Child.png