Domanda

I have simple txt file, read this content, do with them some operation (for example encode and decode) and save result in file. When I compare its two files in beyond compare I see that content the same. But sizes of files are different. Why? And how I can resolve this problem?

È stato utile?

Soluzione

There can be many reasons for that, for example different encoding, or maybe one is using \r\n and the other uses only \n.

Use Hex Compare in BeyondCompare to find out exactly.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top