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.
How can I achieve this?
|
|
Alt + 256 works for me. But thats just one at a time. The plugin HEX-editor is easier if you want heaps of Nul's at a time. |
|||||||||
|
|
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. |
|||
|
|
|
With Notepad++ From HEX
From Base64
The mapping is:
|
|||
|
|
|
try new a file called a.txt, then open it with hex editor like ultraEdit, ctrl + H to enter hex editing mode, at that time, you will be fine with whatever byte you wanna insert. |
|||
|
|