Charaters/Bytes count and File size on Windows properties difference

风格不统一 提交于 2019-12-11 07:56:50

问题


I have a txt file got generated through PHP script. File character count is shown correctly as 3999 bytes/characters when i checked through my script.

When i checked the same content by copy&paste into MS-Word, still it was showing 3999 characters/bytes(with spaces).

However, when i looked at the windows property of the same txt file, it shows the size as 4.17 KB (4,278 bytes).

I am just wondering, what could be the reason for such big margin of difference when i had looked at it. If someone can clarify this, it would be great.

Thanks in advance.

来源:https://stackoverflow.com/questions/12616164/charaters-bytes-count-and-file-size-on-windows-properties-difference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!