Problems with file type of "netscape"!?
Posted: Mon May 08, 2006 5:16 pm
Hi All,
I have a problem that I can resolve easily enough but dont understand how it came about.
I opened a text file with tp 4.7.3 (registered) and made some mods, I then viewed the file with IE6 and noticed a bunch of extra newlines between the text. When I looked at the file properties in tp it said the following:
Code set: ANSI
File type: Netscape
etc.
as a test I did the following:
opened the file in tp again with;
File format: auto
Encoding: default
in the open file dialog.
Completely deleted the contents and typed the following:
begin[CR]textpad[CR]end[CR]
and saved with:
File format: no change
encoding: ANSI
I then opened the saved file as hex and got this:
0: 62 65 67 69 6E 0D 0D 0A 74 65.......
So,
1. What made tp decide the file was in "netscape" format, esp since it isn't an option to save as type netscape?
2. Why did it insert 0D 0D 0A as the EOL str for my newly entered text?
Any help appreciated,
Smeo00.
I have a problem that I can resolve easily enough but dont understand how it came about.
I opened a text file with tp 4.7.3 (registered) and made some mods, I then viewed the file with IE6 and noticed a bunch of extra newlines between the text. When I looked at the file properties in tp it said the following:
Code set: ANSI
File type: Netscape
etc.
as a test I did the following:
opened the file in tp again with;
File format: auto
Encoding: default
in the open file dialog.
Completely deleted the contents and typed the following:
begin[CR]textpad[CR]end[CR]
and saved with:
File format: no change
encoding: ANSI
I then opened the saved file as hex and got this:
0: 62 65 67 69 6E 0D 0D 0A 74 65.......
So,
1. What made tp decide the file was in "netscape" format, esp since it isn't an option to save as type netscape?
2. Why did it insert 0D 0D 0A as the EOL str for my newly entered text?
Any help appreciated,
Smeo00.