• Login
Community
  • Login

i see unknown symbols

Scheduled Pinned Locked Moved General Discussion
7 Posts 5 Posters 5.7k 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.
  • U
    User Name
    last edited by Oct 15, 2017, 4:30 PM

    Latest notepad++, sometime i see unknown symbols while edit big text file! (~5MB)

    1 Reply Last reply Reply Quote 0
    • U
      User Name
      last edited by Oct 17, 2017, 6:34 PM

      It can fixed in new version???

      Screenshot

      1 Reply Last reply Reply Quote 0
      • P
        PeterJones
        last edited by PeterJones Oct 17, 2017, 8:07 PM Oct 17, 2017, 8:05 PM

        Easy: you need to unselect View > Show Symbol > Show End of Line.

        FYI: CR = Carriage Return (ASCII:13), LF = Line Feed (ASCII:10). Windows text files use CR+LF as the end-of-line (EOL) sequence. Unix/Linux uses just LF for EOL. Ancient Macs used just CR.

        EDIT: Though I’m not sure why it started midway through. Also, it looks like you have mixed line endings (see the first red circle, with just LF). Might want to use Edit > EOL Conversion a couple times, to go to Unix and back to Windows, and see if that clears it up.

        1 Reply Last reply Reply Quote 1
        • D
          dail
          last edited by dail Oct 17, 2017, 9:31 PM Oct 17, 2017, 9:28 PM

          Having the carriage returns show up mid-file normally indicates the underlying buffer got corrupted. This mostly happens when the periodic backups is turned on for large files. This has been a known issue for years (which is why I never use it).

          1 Reply Last reply Reply Quote 2
          • U
            User Name
            last edited by Oct 18, 2017, 5:00 PM

            How to fix it ?

            1 Reply Last reply Reply Quote 0
            • P
              pnedev
              last edited by Oct 19, 2017, 6:44 AM

              Looking at @dail 's comment you need to switch off the periodic backups (Settings->Preferences->Backup).

              1 Reply Last reply Reply Quote 1
              • R
                Reed Scarce
                last edited by Reed Scarce Oct 27, 2017, 2:00 PM Oct 27, 2017, 1:58 PM

                Thanks for the heads-up @dail
                This happened to me too, just now. Perhaps related to having too many files tabbed open. Another artifact was after the first CRLF the first character of each line disappeared. I copy/pasted the file and all the text was there, minus the CRLFs.

                Take precautions, act like the file may be corrupt or on the verge of corruption before you do anything else. However, with that in mind, after I closed a couple of files the subject document became the active document and I did a simple ctrl-S and the initial chars reappeared, and the CRLF flags disappeared. YMMV

                The periodic backups are one of the reasons I like Notepad++ so much. Forewarned is forearmed, much obliged.

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