https://github.com/contiamo/oku
Convert files to UTF-8
https://github.com/contiamo/oku
Last synced: 2 months ago
JSON representation
Convert files to UTF-8
- Host: GitHub
- URL: https://github.com/contiamo/oku
- Owner: contiamo
- Created: 2015-09-24T09:40:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-24T09:40:27.000Z (over 9 years ago)
- Last Synced: 2024-12-27T20:37:41.564Z (4 months ago)
- Language: Go
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
oku
=======Command line tool which detects the encoding of a file and outputs to UTF-8.
### Usage examples ###
```bash
# detect file encoding only
oku -d my_file.txt# detect current encoding and convert to utf-8
oku -o outfile.txt my_file.txt
# or
oku my_file.txt > outfile.txt# read from stdin and convert to utf-8
... | oku | less
```### Building ###
```bash
go install ./...
```