latin to utf8 convert easily with linux

latin to utf8 convert easily with linux

for example you have a text file : news.txt

just write this code in terminal 

iconv -f ISO-8859-1 -t UTF-8 news.txt > utf8_news.txt

so now you have your utf-8 text file. however, don’t forget to set “ISO-8859-1″ thing correctly, because it is your current format.