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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址