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
Can anyone give me info on my dads embarrassingly old sony desktop MB?
So Back in 04 my dad bought a sony PCV-RS420 Desktop. He rants how he paid 2 grand at the time and that the computer techs at his shop (Which my dad is not, Just a end user) were all bowing to him on his powerful computer purchase. Here is the funny part. When I was young, one of the first lessons...
General Discussion
Elementary Dual Boot questions...
Hi there! I am about to dual boot my existing XP 32 bit with Win 7 Home Premium 64 bit, and i have some (rather elementary) questions. 1) I have 2 physical HDD, one where XP and all files are located and another where i only have an extension of Steam Library, with 2 games inside (main Steam...
Windows Updates & Activation
Windows 7 x86 (Question about Rundll32 Command Line)
Hello, Today when I started my PC, as usual I always check Task Manager (processes). I saw a Rundll32.exe whitch is regular Windows process file (c:/windows/system32), then I checked Command Line of process and it says this: C:\Windows\System32\rundll32.exe...
General Discussion
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 10:22.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App