Notepad displays garbage; Wordpad works fine.

  • Thread starter Thread starter Ryan Westafer
  • Start date Start date
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
 
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*
 
Back
Top