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.
我想更改文件编码 utf-8 -> euc-kr。
谢谢!
使用iconv工具:
iconv
iconv -f utf-8 -t euc-kr file
https://github.com/bnoordhuis/node-iconv上有一个 node.js 库,它可以帮助您,而无需借助外部工具。