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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top