Home » Questions » Computers [ Ask a new question ]

How to Insert a Null Character (ASCII 00) in Notepad?

How to Insert a Null Character (ASCII 00) in Notepad?

I want to insert a null character (ASCII Value 00) into an open file in Notepad. A program that is reading this file is expecting 00 at the end, but it's getting the ASCII value for space - 20.

Asked by: Guest | Views: 245
Total answers/comments: 1
bert [Entry]

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.