-
BASH > convertir l’encodage d’un texte ou fichier
si en faisant cat fich.txt, l’écran affiche :
c'est l'�t�
alors, en faisant :
cat fich.txt | iconv -f ISO-8859-1 -t UTF-8 fich.txt
cela affichera :
c'est l'été
On peut aussi faire :
iconv -f ISO-8859-1 -t UTF-8 fich.txt > autre.txt