Files with same content differ in sizes
<p>Here is the protocol:</p>

<p>1) I generate a text file online with PHP containing alphanumeric characters. Then I download it and note its size (from Properties menu).</p>

<p>2) I open the text file with Notepad++ and cut all the content in a new text file, then I save the new file (with the same name).</p>

<p>3) To my astonishment, even thought both files have the exact same text content, their size isn't the same!</p>

<p>--<strong>TEST 1</strong>--</p>

<p>Downloaded file: <strong>1529 Ko</strong></p>

<p>New copy file: <strong>1594 Ko</strong></p>

<p>--<strong>TEST 2</strong>--</p>

<p>Downloaded file: <strong>52 Ko</strong></p>

<p>New copy  file: <strong>54 Ko</strong></p>

<hr>

<p>So what? Why am I posting this here? Because the file in question is available to my users for download on my website, and they can use it to replace a file in a game's save. However, the game reacts to the new file by rejecting it, whilst the copied one (with the above protocol) works fine. </p>

<p>The only difference I see between both files is their size (slight difference as shown above) - but the content and the name is the same. Any idea why there is that size difference?</p>
