gpt4 book ai didi

shell - iconv "incomplete character or shift sequence at end of buffer"错误

转载 作者:行者123 更新时间:2023-12-04 08:55:03 28 4
gpt4 key购买 nike

我从另一台服务器导入数据。然后我的脚本将其转换为 .txt。

我导入的 .csv 文件:dddd-cccc bbbbbb aaaa xx List_2015_10_27.csv

iconv 命令:

iconv -f UCS-2 -t UTF-8 /thepath/*List_2015_10_27.csv > /thepath/newfile.txt

直到昨天它都运行良好。现在我有这个错误:
iconv: incomplete character or shift sequence at end of buffer

最佳答案

尝试使用带有 -c 选项的 iconv。

我应该有一个或多个与您输入的字符集“UCS-2”不兼容的字符

关于shell - iconv "incomplete character or shift sequence at end of buffer"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33409016/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com