NULL where blanks should be - Turn this off
-
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? -
Hello Janet,
maybe it’s a problem with your font.
What font do you use?Can you upload a screenshot?
KR, Robert
-
I have the same problem, I can’t fix it
-
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.
-
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. -
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í.
-
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.
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