Convert Character Encoding Using iconv command to convert character encoding. iconv -f GB2312 -t UTF-8 source_file > target_file