bash скрипт - выводит возможные кодировки файла
Определяет: UTF-32LE UTF-32 UTF-8 UTF-7 CP1251 KOI-8R
UTF-16LE, UTF-16LE - не определяет(лень пересилила меня)
Запускать: ./whatsencoding testFiles/имяфайла
Если ругается на права, дать права на запуск chmod +x whatsencoding