This api can break
Over at
WinCustomize, someone
thought they'd found an Easter Egg in the Windows Notepad application. If you:
- Open Notepad
- Type the text "this app can break" (without quotes)
- Save the file
- Re-open the file in Notepad
Notepad displays seemingly-random Chinese characters, or boxes if your default Notepad font doesn't support those characters.
It's not an Easter egg (even though it seems like a funny one), and as it turns out, Notepad writes the file correctly. It's only when Notepad reads the file back in that it seems to lose its mind.
But we can't even blame Notepad:
it's a limitation of Windows itself, specifically the Windows function that Notepad uses to figure out if a text file is Unicode or not.