Savoir si un fichier est en UTF-8

Publié le 03/10/2006  UTF-8

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

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