scarhand Posted July 1, 2009 Share Posted July 1, 2009 i have a problem when i edit some files that other people have edited in dreamweaver, etc. download them from FTP and open them, the formatting is all double-line spaced etc. then when i save the file all the content goes onto a single line. i am using notepad2. how do i stop this from happening? Quote Link to comment https://forums.phpfreaks.com/topic/164439-all-code-going-on-one-line/ Share on other sites More sharing options...
Adam Posted July 3, 2009 Share Posted July 3, 2009 The problem comes from different platforms modifying a file. Different operating systems user their own style to terminate lines which means when a file gets passed around it can start to look messy. If you upload text files via FTP in ASCII mode, apparently this should solve the problem. Quote Link to comment https://forums.phpfreaks.com/topic/164439-all-code-going-on-one-line/#findComment-868250 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.