我想将两个XML文档与WinMerge合并,但是文件内容显示为中文字符。
在这里,我的XML (用VS代码编辑):文件1:
<?xml version="1.0" encoding="utf-16"?>
<Object>
<TestProperty>Test2</TestProperty>
</Object>档案2:
<?xml version="1.0" encoding="utf-16"?>
<Object>
<TestProperty>Test</TestProperty>
</Object>我尝试过将CodePage更改为UTF-8和Unicode,但是没有什么改变。这里是WinMerge的图片:

发布于 2022-08-08 23:17:27
遵循以下步骤:
Options
System codepage
Detect codepage info for these types of files: .html, .rc, .xml
有关详细信息,请参阅"18.2.检测这些文件的代码页信息:.html、.rc、.xml“( https://manual.winmerge.org/en/Configuration.html )
https://stackoverflow.com/questions/68950399
复制相似问题