Notepad displays garbage; Wordpad works fine.

R

Ryan Westafer

Every now and again a data collection application
generates a file that Notepad simply cannot display.
However Wordpad, command-line edit.exe, vi on UNIX, etc.
will open the file just fine.

Is this a bug in notepad?
(The result was verified on multiple XP Professional
machines)

You may find a sample file at the following address:

http://www.ihmc.us/NotepadFails.txt.zip
(it is simply a zipped text file)

-Ryan
 
P

Paul Smith

Ryan Westafer said:
Every now and again a data collection application
generates a file that Notepad simply cannot display.
However Wordpad, command-line edit.exe, vi on UNIX, etc.
will open the file just fine.

Is this a bug in notepad?
(The result was verified on multiple XP Professional
machines)

Just a quick look and notepad seems to detect it as Unicode. Using
EmEditor, opened it correctly, viewing it in Unicode produced the same as
what notepad was showing up, UTF-8, ANSI all appear to show it fine.

Notepad is a very basic text editor and has very limited features (this is
what makes it good most of the time, quick and fast). Re-saving the file
with EmEditor as Unicode made Notepad read it fine.



--
Paul Smith,
Yeovil, UK.
http://www.smirnov.demon.co.uk/
http://www.doom3portal.com/ A Doom 3 fansite.

*Replace nospam with smirnov to reply by e-mail*
 

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