将 XML UTF-16 转换为 UTF-8

Convert XML UTF-16 to UTF-8

我正在尝试将 xml 个文件导入到 MS Access 中,但收到错误消息。

*Access has encountered an error processing the XML schema in the file 'XML File 01.xml'

Unable to switch the encoding.*

XML 文件的第一行是

<?xml version="1.0" encoding="utf-16"?>

当我在记事本中编辑为

<?xml version="1.0" encoding="utf-8"?>

加载正常。

问题是我有 +1000 个文件,因此无法手动执行。有我可以写的批处理文件吗?或关于 MS Access 或 VB?

的其他选项

fnr.exe - 查找和替换工具。

https://findandreplace.codeplex.com/