Bush hid the fact

51 views

Notepad Trick- 1

Open a note pad
type Bush hid the facts
save that file in whatever name you want say example.txt
close it
Now again open and see the magic

Notepad Trick - 2

Open Notepad
Enter four words separated by spaces, wherein the first word has 4 letters, the next two have three letters, and the last word has five letters

for ex. like this one this app can break

DON’T hit enter at the end of the line.Save the file.

Close Notepad.
Reopen Notepad.
Open the file you just saved.

WHY this happens??

In notepad, any other 4-3-3-5 letter word combination 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.

1) You are saving to 8-bit Extended ASCII (Look at the Save As / Encoding format)
2) You are reading from 16-bit UNICODE ( look at the Save As / Encoding format)
This is why the 18 8-bit characters are being displayed as 9 (obviously not supported by your codepage) 16-bit UNICODE characters



« Making Virus is so easy Automatic insert date and time in notepad »
Posted on Friday, January 30th, 2009 at 11:58 am under Notepad tricks | RSS 2.0 Feed

Post Comment

You must be logged in to post a comment.



ComputerEducationWorld.com All Rights Reserved © RSS | CBSE | Education Boards Of India | What is My IP?