Welcome to WebmasterWorld Guest from 54.226.147.190

Forum Moderators: open

Message Too Old, No Replies

Notepad problem

removing new line

     

Shetty

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

5+ Year Member



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

rocknbil

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

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



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.)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month