How to Insert a Null Character (ASCII 00) in Notepad?
With Notepad++
-
Go to
Edit > Character Panel
to show the ASCII Insertion Panel. -
Put the cursor where you want to insert the character.
-
Double-click the character (in the Character column) to insert.
With Notepad++
From HEX
- Type 00 00 00
- Select this text
- TextFX > TextFX Convert > Convert Hex to text
From Base64
- Type AA==
- Select this text
- Plugins > MIME Tools > Base64 Decode
The mapping is:
NUL -> AA=
NUL NUL -> AAA=
NUL NUL NUL -> AAAA
Normal text editors such as Notepad usually do not have the capability to enter NUL characters into files. What you probably want to do is to use a "hex editor" (some text editors also have a "hex" mode). This will let you enter NUL characters, or any other byte you might need.