A small weird notepad Trick

fviran

Active member
  • Oct 9, 2007
    4,054
    18
    38
    39
    public static void main(String[] args){}
    1. Run --> Notepad and type "Bush hid the facts" (Without "")

    211tlj7.jpg

    2 .Save it.

    3 .Now when you open it again you would see the following


    24bnia0.jpg


    :lol: :lol: :lol: :lol: :lol: :lol: :lol:
     

    gnate3_2009

    Member
    Feb 8, 2009
    2,416
    11
    0
    Gampaha
    fviran said:
    ahh wada ban!! giya sathiye design patterns seminar ekata giyaa!! dannawanee!! dawas 3k!! :(

    koo uba mata reply kalee naa nee!! ara site eka gana!! dan harida eekaa??
    Macho skype eke mawa add karanna.. gnate3..

    Mata design patterns enna beri una. Aparaade.. :(
     

    kasuncs

    Well-known member
  • May 21, 2007
    3,590
    271
    83
    Bush hid the facts
    From Wikipedia, the free encyclopedia


    Bush hid the facts (sometimes also this app can break) is the common name for a bug present in the function IsTextUnicode of Windows NT 3.5 and its successors, which causes a file of text encoded in Windows-1252 or similar encoding to be interpreted by applications that uses it (such as Notepad) as if it was UTF-16, resulting in mojibake.

    While "Bush hid the facts" is the sentence that is most commonly presented on the Internet, it does not exclusively occur with that phrase. The bug can be triggered by many sentences with alphabetic characters and spaces in a particular order (4-space-3-space-3-space-5), as well as other combinations that can be parsed into valid (if nonsensical) Chinese characters in Unicode.

    The bug occurs when the ANSI string is passed to the Win32 charset detection function IsTextUnicode with no other characters. Because of this bug, IsTextUnicode will return TRUE, which means that applications that uses it will incorrectly interpret it as UTF-16. For example, if you load a text file with the string into a text editor that uses IsTextUnicode, the text will be displayed as nine Chinese characters, or squares if the language pack has not been installed. With Notepad, to retrieve the original text, bring up the "Open a file" dialog box, select the file, select "ANSI" in the "Encoding" list box, and click Open.
     

    fviran

    Active member
  • Oct 9, 2007
    4,054
    18
    38
    39
    public static void main(String[] args){}
    kasuncs said:
    Bush hid the facts
    From Wikipedia, the free encyclopedia


    Bush hid the facts (sometimes also this app can break) is the common name for a bug present in the function IsTextUnicode of Windows NT 3.5 and its successors, which causes a file of text encoded in Windows-1252 or similar encoding to be interpreted by applications that uses it (such as Notepad) as if it was UTF-16, resulting in mojibake.

    While "Bush hid the facts" is the sentence that is most commonly presented on the Internet, it does not exclusively occur with that phrase. The bug can be triggered by many sentences with alphabetic characters and spaces in a particular order (4-space-3-space-3-space-5), as well as other combinations that can be parsed into valid (if nonsensical) Chinese characters in Unicode.

    The bug occurs when the ANSI string is passed to the Win32 charset detection function IsTextUnicode with no other characters. Because of this bug, IsTextUnicode will return TRUE, which means that applications that uses it will incorrectly interpret it as UTF-16. For example, if you load a text file with the string into a text editor that uses IsTextUnicode, the text will be displayed as nine Chinese characters, or squares if the language pack has not been installed. With Notepad, to retrieve the original text, bring up the "Open a file" dialog box, select the file, select "ANSI" in the "Encoding" list box, and click Open.


    ahh eekai mee!!:lol: :lol: :lol: