Community
    • Login

    CR LF line ending translation bug

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 382 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      networkproblemsolver
      last edited by

      Hi, I noticed the CR LF translation didn’t work when I had a file with mixed CR’s and LF’s… I still ended up with a file with mixed LF or CRLF endings.

      The same file was correctly translated to CRLF using Notepad3 (no dis intended).

      Thx!!

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @networkproblemsolver
        last edited by Alan Kilborn

        @networkproblemsolver said in CR LF line ending translation bug:

        CR LF translation

        Tell us more about what you did. Otherwise THIS applies.

        1 Reply Last reply Reply Quote 3
        • Mark OlsonM
          Mark Olson
          last edited by

          I’d also note that if you have mixed CR and LF you can easily convert those all to CRLF with this find/replace:
          FIND: \R
          REPLACE WITH: \r\n
          Regular expressions ON
          BEFORE:
          be5003c8-89b3-497d-a3d1-f2aac078829e-image.png
          AFTER:
          3bc6fcca-3d23-45ea-ad4f-338f1842aa52-image.png

          1 Reply Last reply Reply Quote 4
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors