Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将脚本从 Windows 迁移到 Linux。Windows 脚本正在执行以下转换:
chcp 1252
type "source.csv" > "new.csv"
在 Linux 上执行转换的等效命令是什么?
谢谢,这对我有用
iconv -f UTF-16 -t WINDOWS-1252 -o new.csv source.csv