ノートパッドのエンコーディング・バグ

ブロガー界隈で割と有名なノートパッドnotepadのエンコーディング・バグがある。ノートパッドで4-3-3-5の文字数の組み合わせで英文を入力したあと、再度開くとノートパッドがエンコード解析できず、マシンに中国語等の2バイトフォントが入っていると、漢字の羅列が現れるというもの。例えばthis app can failsと入力し保存後に再度ファイルを開くと扡摣愠换愠换愠换敤のように表示されてしまう。

Here's how to do it:
1. Open up Notepad (not Wordpad, not Word or any other word processor)
2. Type in this sentence exactly (without quotes): "this app can break"
3. Save the file to your hard drive.
4. Close Notepad
5. Open the saved file by double clicking it.
Instead of seeing your sentence, you should see a series of squares. For whatever reason, Notepad can't figure out what to do with that series of characters and breaks

http://blogs.msdn.com/michkap/archive/2006/06/14/631016.aspx
http://weblogs.asp.net/cumpsd/archive/2004/02/27/81098.aspx