https://github.com/gonejack/transcode-rust
https://github.com/gonejack/transcode-rust
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gonejack/transcode-rust
- Owner: gonejack
- License: mit
- Created: 2026-05-26T08:18:10.000Z (25 days ago)
- Default Branch: main
- Last Pushed: 2026-05-26T08:42:39.000Z (25 days ago)
- Last Synced: 2026-05-26T10:21:30.385Z (25 days ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# transcode
This command line tool does text file encoding conversions.
## Installation
```bash
cargo install --path .
```
## Usage
By arguments:
```bash
transcode source.txt
transcode -s gbk -t utf-8 source.txt
```
By stdin:
```bash
cat source.txt | transcode
```
## Flags
```
-s, --source-encoding Set source encoding, default as auto-detection [default: auto]
-t, --target-encoding Set target encoding, default as utf-8 [default: utf-8]
-d, --detect-encoding Detect encoding only
-w, --overwrite Overwrite source file
-l, --list-encodings List supported encodings
--about Show about
-h, --help Print help
```