Open imkos opened 3 months ago
Sorry for my late reply.
I see, so you want a way to specify a default text encoding for methods that abstract away the creation of the format and just open the file immediately.
I like your suggestion, though I might tweak it a bit for the final implementation.
test code:
issue: The fileList contains noUTF8 characters and the file cannot be opened
archiver package: zip.go, Cannot specify TextEncoding.
try new code: archiver.ZipFormat().TextEncoding = "gb18030"
sample file: use attach file YS8293EN_EA9732.zip