Community
    • Login

    NULL where blanks should be - Turn this off

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 6 Posters 24.1k Views 2 Watching
    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.
    • Janet MarshallJ Offline
      Janet Marshall
      last edited by

      I have a TXT document that in the format has blank spaces for the delimiter. It looks fine in WordPad and NotePad but when I open it in Notepad++ everywhere there is a blank space in a line of data the word NULL appears. I have tried turning show codes on and off didn’t help.
      How do I get rid of this?

      1 Reply Last reply Reply Quote 1
      • kawingaK Offline
        kawinga
        last edited by

        Hello Janet,

        maybe it’s a problem with your font.
        What font do you use?

        Can you upload a screenshot?

        KR, Robert

        1 Reply Last reply Reply Quote 0
        • Karla EspinalesK Offline
          Karla Espinales
          last edited by

          I have the same problem, I can’t fix it

          1 Reply Last reply Reply Quote 0
          • gerdb42G Offline
            gerdb42
            last edited by

            This is the way NP++ shows non-printable characters and this can’t be turned off. It has nothing to do with font settings. Character codes <32 have special meanings and do not represent a visible glyph. NP++ has a Tool to insert special characters at Edit->Character Panel.

            That “fine” look that WordPad and NotePad present is actually treachery: Janet’s file is NOT delimited with blanks, it’s delimited with NUL-Characters. These are completely different things!

            What NP++ shows is actually a warning: That file is not meant to be a plain text file and if you start poking around with a text editor you likely screw things up.

            1 Reply Last reply Reply Quote 1
            • kawingaK Offline
              kawinga
              last edited by kawinga

              Thank you @gerdb42 for your explanation.
              I assumed the blank spaces are real blank spaces (char 32).

              @Janet-Marshall, @Karla-Espinales : see
              https://en.wikipedia.org/wiki/ASCII#ASCII_control_code_chart
              and
              https://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
              for more information.

              1 Reply Last reply Reply Quote 0
              • Roberto Alonso De VelascoR Offline
                Roberto Alonso De Velasco
                last edited by

                You can copy and paste the text in another file / tab, if you need to not see the NUL characters, but be careful, if they are, that is so.

                Puedes copiar y pegar el texto en otro fichero/pestaña, si necesitas no ver los caracteres NUL, pero cuidado, pues si están, es que eso es así.

                1 Reply Last reply Reply Quote 0
                • Leon SuL Offline
                  Leon Su
                  last edited by

                  I have the same issue: why Notepad++ displays space character as NUL in a .txt file?
                  The .txt file just displayed fine in any other text editors including UtraEdit.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors