-2

我在 VB 中有一个实用程序可以生成附加文件(circle.14.mdn_range.properties_VB),并且我创建了其他文件(circle.14.mdn_range.properties_UTLFILE),它与 UTL_FILE(Oracle)具有相同的内容。但是对于具有相同内容的两个文件,校验和是不同的。您能否建议消除此错误的原因和可能的方法?

CertUtil -hashfile circle.14.mdn_range.properties_VB MD5
MD5 hash of file circle.14.mdn_range.properties_VB:
1b 43 b6 a4 44 d0 4d 8a 8b 91 3e 7b d7 aa 4f 4e
CertUtil: -hashfile command completed successfully.

CertUtil -hashfile circle.14.mdn_range.properties_UTLFILE MD5  
MD5 hash of file circle.14.mdn_range.properties_UTLFILE:

ae 0c 75 b8 d5 19 05 64 d5 c6 54 ec 55 bc dc e0
CertUtil: -hashfile command completed successfully.
4

1 回答 1

0

其中一个文件可能是 UTF-8(通常称为 ASCII),而另一个是 UTF-16(通常称为 Unicode)。要确定文件的不同之处,请尝试使用“Beyond Compare”之类的实用程序。或者,编写一个 VB 程序以更多的二进制文件打开这两个文件,逐字节读取并找出它们的不同之处应该是微不足道的。

于 2016-02-26T04:29:26.423 回答