> Windows, the most widely deployed desktop OS, agrees that 1 kilobyte = > 1024 bytes, so does Nautilus, the file manager in Gnome. I can't speak > for OS X, but I'm pretty sure it uses that definition as well.
Nautilus 2.30.0 correctly reports a file of 1000 bytes as '1000 bytes' and a file of 1024 bytes as '1.0 KB' (which should be KiB but that's their issue). Dolphin 1.4 using KDE 4.4.3 also shows the same (correct) behavior. OSX Finder displays it as 4KB file due to the block size used, so that is of no help. The only one here that displays the same as the PHP documentation (as in, 1 kilobyte = 1024 bytes) is Windows Explorer. Which version of Nautilus are you using? As that is not what I am seeing > > Yes you can create what ever definitions you want, however what you > > should not do is change the value of those already existing definitions > > that are clearly outlined by standards. The International System of > > Units clearly, very clearly, states that kilo = 1000, not 1024. > > Indeed they do, but "byte" is not an SI base unit. SI is only > concerned with length, mass, time, electric current, thermodynamic > temperature, amount of substance and luminous intensity. Nor is "byte" > even included in the list of non-SI units for use in SI [1]. True however the value of 'kilo' still remains. > As Johannes said in the bug report, because it contradicts the most > widespread definition and thus contradicts what most users would > expect. Who are these most users? The majority of people I know understand the difference, and the ones that don't simply don't care or have a need to know the difference in them. As a use case: Harry visits the FAQ to see what the value of 'K' means, it shows that K means 1 Kibibyte. As Harry knows what a Kibibyte is, he knows that 'K' should be 1024 bytes. Adam on the other hand, has no idea what a Kibibyte is and so continues to read the FAQ which states that 1 Kibyte = 1024 bytes (like the documentation currently does, albeit with wrong wording). My point being is that those who know the real value can continue to use the real value; those that don't can either A) read a few words further or read up on what a 'kibibyte' is, which takes less than 10 seconds. Something any competent developer should be able to do. > Didn't see that you only replied to me. Please use "reply all" so the > mailing list gets a copy of the reply as well. Whoops, my mistake.