# charset

file encoding

iconv, writes on stdout, cannot do inplace:

iconv -l
iconv -f latin1 -t utf8 <file>

recode does inplace by default:

recode -l
recode latin1..utf8 <file>

chardetect