Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Notepad ++

  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Notepad ++

    On one computer I use Dreamweaver to edit my site, on another computer I use Notepad ++. Sometimes when I open a file in Notepad++ after downloading the latest version from the server, the code is all jumbled together. Most of the time the code formatting is intact. It happens only maybe 1 out of 10 pages.

    Anybody else have this problem?

    I use Filezilla to upload and download files.

  • #2
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,025
    Thanks
    15
    Thanked 239 Times in 239 Posts
    You may be having a problem with EOL ( end of line ) characters, there are unix versions, and ms dos versions of EOL.
    Code:
    for unix
    \n
    for dos
    \r\n
    You should have conversion options available.

  • Users who have thanked DrDOS for this post:

    dtjunkie (08-12-2012)

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Where are those supposed to go? Within the html document?

  • #4
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,025
    Thanks
    15
    Thanked 239 Times in 239 Posts
    Quote Originally Posted by dtjunkie View Post
    Where are those supposed to go? Within the html document?
    They're at the end of every line on every document, but somewhere in the editor options you should have a choice to change the EOL characters.

  • #5
    New to the CF scene
    Join Date
    Aug 2012
    Location
    Bham , al
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    jumbled notepad files

    The only time I use those characters \n\r is in email headers w/apache on linux.
    for windows it would more look like a ^M as an end of line character.
    -- didn't see where to change it on notepad but ran into simular problems switching from windows notepad and vim either way I ended up sticking with notepad++. and stopped creating that problem.
    also look into encoding ie: you should be using utf-8 in your webpages.
    The doctype deceleration is good thing to know.

    NOTE just googled it. AND The Answer IS> Menu/ edit/ eol conversion.

    http://stackoverflow.com/questions/2...ad-and-notepad
    Last edited by semky; 08-16-2012 at 08:36 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •