Convertir archivos entre UTF-8 a ISO-8859-1 y viceversa

Convertir archivos entre UTF-8 a ISO-8859-1 y viceversa es muy sencillo:

de UTF-8 a ISO-8859-1:

iconv --from-code=UTF-8 --to-code=ISO-8859-1 utf.txt > iso.txt

de ISO-8859-1 a UTF-8:

iconv --from-code=ISO-8859-1 --to-code=UTF-8 iso.txt > utf.txt

Deja un Comentario

Ej: Lunes.(Primera Mayuscula)