<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d2548135148879417199\x26blogName\x3dEureka!\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://eurekaness.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://eurekaness.blogspot.com/\x26vt\x3d-2360699878227587638', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Weird Notepad Bug

Tuesday, July 24, 2007

I read this in another website, that Notepad (our favorite Windows text editor) has a bug! If you enter a series of letters and words, you will get a weird (and I mean weird) result. The result I got was a series of Chinese characters. I'm not sure if yours will differ. Anyway, here's how to do it:

1. Open Notepad
2. Type pats has the power (in small letters)
3. Save the document, and close notepad

4. Open the saved file

Here's the result I got (Click the image to enlarge):


Hehehe cool, ain't it?

Well the reason behind that, says JOECOOL (vulcanlogic7@yahoo.com), is that:
In notepad, any other 4-3-3-5 letter word combo will have the same results.
It is all to do with a limitation in Windows. Text files containing Unicode UTF-16-encoded Unicode are supposed to start with a "Byte-Order Mark" (BOM), which is a two-byte flag that tells a reader how the following UTF-16 data is encoded.

Sorry but I'm not an ultra-techie person and I absolutely don't know what that meant, so if anyone can care to explain that in layman's term, that would be great!

Sources: http://bink.nu/Article7429.bink; www.eeggs.com

Labels: , ,

Leave A Comment