ICONV命令

  sre
# Converting -f (from) latin1 (ISO-8859-1)
# -t (to) standard UTF_8
iconv -f ISO-8859-1 -t UTF-8 < input.txt > output.txt

选项:

iconv -l 列出所有已知编码
iconv -c 默默丢弃无法转换的字符

LEAVE A COMMENT

Captcha Code