Macbook上如何把中文文本转成UTF-8

iconv -f GB18030 -t UTF8 Downloads/xxx.txt > Downloads/kk.txt
原文地址:https://www.cnblogs.com/bugutian/p/13020463.html