Ok So I have this problem that is really annoying, when I work on a .php file with a friend notepad will show the file perfect with all the tabs and line breaks and nice format. But when I open the same .php file in wordpad it's all on one line with no line breaks which makes it really hard to edit, the same file if I open using notepad++ displays correctly but has a line break every second line. Why does this happen? I would like to use notepad++ without this happening, I don't like to use notepad. Image link to explain better: http://img828.imageshack.us/img828/5986/44547998.jpg EDIT: The file was created in notepad++ The only program that displayed it correctly was notepad, so I saved changes in notepad and now its one line in all programs......
Probably a problem with encoding. Try to save it as UTF-8 in Notepad and see if there's any difference.
I would open the document in a hex editor. Then you'll see exactly what formatting is used. You can probably find a free hex-editor just googling for it.
It's probably from a unix system, they use \n as a new line. windows uses \r\n And notepad is primitive to detect that.