• Login
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.
  • J
    Janet Marshall
    last edited by Apr 25, 2016, 6:58 PM

    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
    • K
      kawinga
      last edited by Apr 26, 2016, 9:09 AM

      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
      • K
        Karla Espinales
        last edited by Apr 26, 2016, 1:59 PM

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

        1 Reply Last reply Reply Quote 0
        • G
          gerdb42
          last edited by Apr 28, 2016, 8:57 AM

          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
          • K
            kawinga
            last edited by kawinga May 2, 2016, 10:20 AM May 2, 2016, 10:19 AM

            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
            • R
              Roberto Alonso De Velasco
              last edited by Apr 23, 2018, 5:47 PM

              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
              • L
                Leon Su
                last edited by Jun 21, 2022, 7:22 AM

                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