The codec of filename inside zip file are detected automatically, or you can use -c
to give specific codec, but forcing wrong codec will fail to extract the file.
Reference to iconv --list
to get a list of full supported codecs.
go get github.com/meoow/unzipgbk
Usage: unzipgbk [options] zipfile ...
Options:
-c="": Forcing codec instead of auto detecting