中国开发网: 论坛: 程序员情感CBD: 贴子 685789
风无影
有用WinMerge的吗?
对比UTF-8编码的文件乱码如何解决?找不到地方设置。
查看帮助,以我笨拙的英语说要用WinMergeU.exe,可是我看WinMerge的安装目录,可执行文件的文件名就是WinMergeU.exe

"D:\Program Files\WinMerge\WinMergeU.exe"

17.5.2. I see question marks instead of letters in files?

This is what we call a "lossy" conversion.

For Unicode files (UCS-2, UTF-8), use WinMergeU.exe.

For ANSI files, this is probably due to code-page problems. If "Use codepage info" is selected from Options, turn that off and see if it helps.

本来想问这个问题的,再仔细读了一遍帮助。发现要对比UTF-8的文件需要设置:
For all other cases, to instruct WinMerge to assume that all documents are UTF-8, set the default WinMerge codepage to 65001 (which is Microsoft's code for UTF-8) in Codepage options (Edit->Options from main menu) and then Custom Codepage.
CNDEV继续着,怎么也没人广播一下啊?

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录