UTF-16 到 UTF-8 的转换(用于 Windows 中的脚本) [英] UTF-16 to UTF-8 conversion (for scripting in Windows)

查看:29
本文介绍了UTF-16 到 UTF-8 的转换(用于 Windows 中的脚本)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将 UTF-16 文件转换为 UTF-8 的最佳方法是什么?我需要在 cmd 脚本中使用它.

what is the best way to convert a UTF-16 files to UTF-8? I need to use this in a cmd script.

推荐答案

有一个 GNU 工具 recode 也可以在 Windows 上使用.例如

There is a GNU tool recode which you can also use on Windows. E.g.

recode utf16..utf8 text.txt

这篇关于UTF-16 到 UTF-8 的转换(用于 Windows 中的脚本)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆