Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top