Pour savoir si un fichier est en UTF-8, on peut utiliser la commande file -i fichier

Ca renvoie :
text/plain; charset=utf-8