RTF or text file

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
agent86
Posts: 18
Joined: Wed Apr 26, 2006 2:59 am
Location: SF Bay Area

RTF or text file

Post by agent86 »

I use a program that saves its output files as rtf encoded files that have a .txt extension. The weird thing is that if I open the file in TextPad as a text file and do a "save as" then change the extension to .rtf it opens with MS Word as a rtf.

If I just rename the file changing its extension to .rtf it opens up as a text file, not as a RTF file.

Additional information...

If I open the .txt file in WordPad and do a "Save As" and change the extension to .rtf, close the program, open the new .rtf file it opens in MS Word as a RTF file.

Any idea what is going on?

Thanks
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

The weird thing is that if I open the file in TextPad as a text file and do a "save as" then change the extension to .rtf it opens with MS Word as a rtf.
Make a copy of the file before you open it in Textpad.
After saving as rtf in textpad, do a binary compare of copy and saved-as-rtf file.
Are the contents identical?
Post Reply