Notepad Easter Egg or Bug?

pradeep's Avatar, Join Date: Apr 2005
Team Leader
1.) Open an empty notepad file
2.) Type "Bush hid the facts" (without the quotes)
3.) Save it as whatever you want.
4.) Close it, and re-open it.

is it just a really weird bug? :-??
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Notepad does not like Bush to hid(t) the facts. ;D
ndakota's Avatar, Join Date: Aug 2007
Go4Expert Member
i have read somewhere that this happens because notepad considers the format of file before saving it.
It gets the format from first few bytes of data.
If they are in fix pattern, then it will be saved in some different format.
The pattern here is 4 3 3 4
Bush hid the facts
But i tried a different sentence and it didn't work.
i tried "This api may halt" (without quotes) and after saving and reopening it didn't change into weird things.
hope someone tells the solution
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The file size of blank file is zero and so what you are suggesting is nothing but an explanation what is happening the real answer is the development team have done it that way.