Notepad and Bush’s secrets

Right click on desktop and make a new Text Document
open it… and type:

Bush hid the facts

dont put a period.
save it
close it
re-open it

What do you see?… weird huh?

Explanation:

This is not an easter egg or a weird pun by notepad developers, the app breaks if you type

“this app can break”
“this api can break”,
“alex can not sing”,
“and even “abcd efg hij klmno

Look carefully at the sequence of strings “xxxx xxx xxx xxxxx” they are all in the format
4-3-3-4

Its because of the difference between ASCII and Unicode. It’s just a matter of Notepad defaults. When you save the file, in the “Encoding” field, the default drop-down is set to ANSI. So Notepad saves as ANSI. But if you do a File -> Open, the default Encoding is set to Unicode. That’s exactly what happens when you double click a saved file. Notepad knows the path, but not the Encoding. So it uses the default Unicode encoding, which spits characters as explained above.

So no consipiracies….i dunno what bush hid…its just an MS App :-)

Category: Geek Stuff
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>