发新话题
打印

iconv: illegal input sequence at position 0的解决办法

iconv: illegal input sequence at position 0的解决办法

加 -c

# cat result.csv | iconv -c -f utf8 -t gb2312


# cat result.csv | iconv -f utf8 -t gb2312
iconv: illegal input sequence at position 0


参考:
https://www.datafix.com.au/BASHing/2018-09-13.html

TOP

发新话题