Convert file(s) to a specific encoding

enca

enca -L {{language}} -x {{to_encoding}} {{file1 file2 ...}}

click the source code to copy install enca on any operating system with command-not-found.com