How to convert text file encoding

1. Using iconv:

man iconv
iconv -f windows-1251 -t utf-8 "src.txt" > dst.txt

2. Using recode:

sudo apt-get install recode
recode -l
recode CP1251..UTF8 file.txt

3. Using gedit:

gedit --encoding windows-1251 file.txt
dev/ubuntu/convertencode.txt · Последние изменения: 2012/10/11 19:18 — jamis7005
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0