An open API service indexing awesome lists of open source software.

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

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 ./...
```