Welcome to WebmasterWorld Guest from 54.158.227.99

Forum Moderators: open

Message Too Old, No Replies

Notepad problem

removing new line

     
4:17 pm on Jun 26, 2008 (gmt 0)

New User

10+ Year Member

joined:Oct 9, 2005
posts: 32
votes: 0


hi
My notepad has suddenly started removing the new line char at the end of the line since last week none of the antivirus including norton and avg show any virus or spyware.

If I download the file using ftp and open it in notepad and save it all the enter chars and all special chars are gone

I get junk i am no longer able to use the css and the php files.

Anyone else have this problem
vipin shetty

6:12 pm on July 2, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Nov 28, 2004
posts:7999
votes: 0


If I download the file using ftp and open it in notepad and save it all the enter chars and all special chars are gone

If you are on Linux/CentOS, this may not be Notepad's fault.

PC and Unix/Linux end of line characters are different. If it gets converted to Unix EOL's on upload, it will do this. I always work with an editor that saves files in Unix format (Macromedia HomeSite, don't even know if you can get it now.)