This command line do text file encoding conversions.
> go install github.com/gonejack/transcode@latestBy arguments:
> transcode source.txt > transcode -s gbk -t utf8 source.txtBy stdin:
> cat source.txt | transcodeFlags: -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. -d, --detect-encoding Detect encoding only. -w, --overwrite Overwrite source file. -l, --list-encodings list supported encodings --about Show about.