1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Notepad Easter Egg or Bug?

Discussion in 'Windows' started by pradeep, Sep 3, 2007.

  1. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    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? :-??
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    Notepad does not like Bush to hid(t) the facts. ;D
     
  3. ndakota

    ndakota New Member

    Joined:
    Aug 9, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,285
    Likes Received:
    364
    Trophy Points:
    83
    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.
     

Share This Page