Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top