https://www.ask-sheldon.com/get-file-encoding/
Get file encoding via Linux shell