aa wrote:
I write to a text file, and when view the resulting file in Notepad, it
shows "\t" as tabs correctly, but "\n" does not break the line. Instad it
shows as a square.
How do I fix Notepad?
You don't fix Notepad, you fix your /text/ files.
Text files have a line end dependent on the OS on which they are on.
On Windows the line end is CRLF ("\r\n");
on Linux it is LF ("\n"); and
on Mac it is CR ("\r").
If you want to treat your /text/ files as binary data, Notepad isn't the
best program to edit them (as it isn't the best program to edit
executable files).
Some Windows programs In Dreamweaver it shows OK.
(apparently like Dreamweaver) treat binary files as /text/ files and
that causes a whole lot of mess when the files aren't /text/ files :-)
You already have a editor that works as you like (Dreamweaver). Just use
it instead of Notepad; or get another substitute for Notepad.
Googling for "Notepad replacement" will give you a lot of binary "text"
file editors.
--
Mail sent to my "From:" address is publicly readable at
http://www.dodgeit.com/
== ** ## !! !! ## ** ==
TEXT-ONLY mail to the complete "Reply-To:" address ("My Name" <my@address>) may
bypass the spam filter. I will answer all pertinent mails from a valid address.