transcode

command module
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

README

transcode

This command line do text file encoding conversions.

GitHub go.mod Go version Build GitHub license

Installation

> go install github.com/gonejack/transcode@latest

Usage

By arguments:

> transcode source.txt
> transcode -s gbk -t utf8 source.txt

By stdin:

> cat source.txt | transcode

Flags

Flags:
  -h, --help                      Show context-sensitive help.
  -s, --source-encoding="auto"    Set source encoding, default as auto-detection.
  -t, --target-encoding="utf8"    Set target encoding, default as utf8.
  -w, --overwrite                 Overwrite source file.
      --about                     Show about.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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