Notepad bug?

P

Phillip Pi

http://www.wincustomize.com/articles.aspx?aid=117870&c=1 from
http://digg.com/software/_this_app_can_break_Are_there_any_other_forbidden_strings_in_Notepad_

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


How come Vista's Notepad still has this problem? I hope MS fixes this in
Vista. ;)
--
Phillip Pi
Senior Software Quality Assurance Analyst
ISP/Symantec Online Services, Consumer Business Unit
Symantec Corporation
www.symantec.com
 
J

Jane C

That only happens if you save it as ANSI with .txt extension. Do the same
saving as UTF8 or Unicode and it appears as normal.

Oh, and I didn't get squares...I got Chinese characters!! Added the same
line again and that stayed 'normal' on saving it.

Still very weird though.
 
M

Michael A. Covington

1. Open up Notepad (not Wordpad, not Word or any other word processor)
Are you saving it in Unicode and opening it in ANSI, I wonder? What
extension did you give the file name when you saved it? When you
double-clicked it, did it open with Notepad or with something else?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top