Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Embarrassingly elementary question - Notepad and line breaks

14 Feb 2011   #1

Win7 Professional 64
Embarrassingly elementary question - Notepad and line breaks

For simple text files, I've just always used Notepad. Lots of better things out there, but Notepad comes with Windows, so I've rolled with it.

Now that I'm using Windows 7 - and I don't even remember if Notepad came with it, or if I went out and "found" it somewhere - I'm having the following odd problem.

I update content for a web site for a nonprofit for which I volunteer. When I take html or php files that were (presumably) created in XP and open them with Notepad in Windows 7, the line breaks are gone. The text just streams together unreadably. The pages render fine in a web browser, but they're wretched to edit or look at the source.

I've worked around this so far by viewing the page source from my browser, then copying and pasting it back into the source file, and then the breaks are intact and Windows 7 Notepad displays it correctly. But that won't work for a php file, because the "source" one sees on the web isn't the exact source of the original php file.

Sorry, this isn't a web/html/php question. Just wondering if XP Notepad and Win7 Notepad are incompatible enough to cause this, and more importantly, what's the "path of least resistance" in terms of a good text editor to use (ideally one provided with Windows, although I have no problem finding and installing freeware editors - I'd just think Microsoft had a solution here)?

My System SpecsSystem Spec
14 Feb 2011   #2

Windows 7 Professional 64 bit

I haven't seen the behaviour you're describing, but then haven't edited a webpage in forever.

I'd use Arachnophilia from When I was doing HTML, I liked it best as an HTML editor.

As far as text editors, I've been using, and am happy with, a program called JEdit from One word of caution though; J Edit is a "Unix like" text editor, so you won't be able to edit with notepad without doing a lot of manual reformatting once you've used J Edit.
My System SpecsSystem Spec

 Embarrassingly elementary question - Notepad and line breaks

Thread Tools

Similar help and support threads
Thread Forum
Notepad++ question
Notepad++ doesn't warn me if i close it and have unsaved files open. Is there a setting so i can get a warning to save before closing. If there is, i haven't been able to find it. It doesn't cause a problem, it reloads the unsaved file(s) when i restart Notepad++, so no data is lost. I would...
Notepad++ - Selecting Text to End of Line
Hi, I don't know if this is the proper forum. I did want to post this question at the NPP forum, but I don't have any of the accounts required for registering (Github, Facebook, etc.), so I thought I'd ask here. If no one has an answer, no big deal. :) Anyway, I don't use NPP for coding....
NOTEPAD question/problem
I'm running Windows 7 on my Acer laptop and recently got rid of Office 2007 and installed Office 2003, and it is working just fine. However, I've recently noticed that when I use the "Find" feature in NotePad, it works sometimes, and other times it does not. I've tried checking the spelling, case...
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:50.
Twitter Facebook Google+