mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 21:26:07 +00:00
Chinese Garbled #269
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 @JohnnyWoong on GitHub (Jan 8, 2018).
when i use it, the chinese will be garbled
@JohnnyWoong commented on GitHub (Jan 8, 2018):
uncompress zip, file extension is jpg
@adamhathcock commented on GitHub (Jan 8, 2018):
Try setting the encoding on the options.
@JohnnyWoong commented on GitHub (Jan 8, 2018):
useless,the default setting is utf-8
@adamhathcock commented on GitHub (Jan 8, 2018):
yeah it is...set it to a different code page
@JohnnyWoong commented on GitHub (Jan 8, 2018):
what do u mean?set to encode.default?
@adamhathcock commented on GitHub (Jan 8, 2018):
https://github.com/adamhathcock/sharpcompress/issues/149 is similar
there still might need to be code changes to totally fix things
@JohnnyWoong commented on GitHub (Jan 8, 2018):
ok,i will try that first,thx
@JohnnyWoong commented on GitHub (Jan 8, 2018):
y i can delete zip file after i uncompress it,but cant delete 7z file after i uncompress it?
@adamhathcock commented on GitHub (Jan 8, 2018):
make sure everything is disposed. You'll need to show me a code sample of what you're doing if you think you've disposed everything
@JohnnyWoong commented on GitHub (Jan 8, 2018):
@adamhathcock commented on GitHub (Jan 8, 2018):
I'll take a look later but
RarArchiveisn't 7Zip@JohnnyWoong commented on GitHub (Jan 8, 2018):
sry,my copy wrong,RarArchive should be SevenZipArchive,the 7z file cant delete,i haven't test rar file
@adamhathcock commented on GitHub (Jan 8, 2018):
well, I need the exact code, not a copy/guess. As far as I can tell, disposal works correctly.
@JohnnyWoong commented on GitHub (Jan 8, 2018):
thats is the code,cause i write 7z,zip and rar,so i copy the wrong one..
@adamhathcock commented on GitHub (Jan 8, 2018):
I literally tested that and it works for me. Next step for debugging would be for you to provide a github repo sample with the bug that I could validate didn't work.
@JohnnyWoong commented on GitHub (Jan 9, 2018):
I dont knw y,but same code is work 4 me today...sry abt that
By the way,7z uncompress is too slow,250MB zip uncompress only need less 1 min,y 275MB 7z uncompress need about 30M..
@binary4cat commented on GitHub (Sep 19, 2018):
@JohnnyWongC How do you solve this Chinese garbled problem? 😱
@JohnnyWoong commented on GitHub (Nov 13, 2018):
I test it again,some file can unzip correctly,some file still garbled
test file.zip: https://www.jianguoyun.com/p/DavrLy0Q-c3-BRjQroMB
the chinese file in mods directory
@YoungLiao commented on GitHub (Sep 27, 2022):
not fixed on version 0.32.2 yet.