https://github.com/gonejack/transcode
This command line do text file encoding converts
https://github.com/gonejack/transcode
encoding-convertors transcode
Last synced: 6 months ago
JSON representation
This command line do text file encoding converts
- Host: GitHub
- URL: https://github.com/gonejack/transcode
- Owner: gonejack
- License: gpl-3.0
- Created: 2020-11-28T07:32:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-05T08:28:22.000Z (over 1 year ago)
- Last Synced: 2024-08-07T23:57:16.962Z (10 months ago)
- Topics: encoding-convertors, transcode
- Language: Go
- Homepage:
- Size: 58.6 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# transcode
This command line do text file encoding conversions.

[](LICENSE)## Installation
```bash
> go install github.com/gonejack/transcode@latest
```## Usage
By arguments:
```bash
> transcode source.txt
> transcode -s gbk -t utf8 source.txt
```By stdin:
```bash
> 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.
```