codepage-unzip

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

README

codepage-unzip: A tool to unzip non-unicode ZIP archives with proper codepage handling

Standard Unix/Linux unzip does not go well with old, non-unicode ZIPs. This tool properly creates unicode filenames from such old ZIP files.

Install

With a go commandline,

go install github.com/mixcode/codepage-unzip@latest

Usage

codepage-unzip -f CHARACTER_ENCODING ZIP_FILENAME

CHARACTER_ENCODING is the filename encoding of the zip archive. This tool internally use iconv for character conversion, so the encoding name should same characterset name of iconv tool.

You may get a list of character encodings with the command iconv --list

Example: decompress a zip with Japanese filenames.
codepage-unzip -f SHIFT-JIS japanese_zip_archive.zip

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL