Community
    • Login

    NULL where blanks should be - Turn this off

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 6 Posters 22.5k 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.
    • Janet MarshallJ
      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
        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
          Karla Espinales
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • gerdb42G
            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
              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
                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
                  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
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors