I have got characters like that in my notepad++
When i am trying to copy whole line, i am actually copying everything until "NUL":
File:1
What i want to do, is replace those null, to be nothing, so i can copy my whole line. Maybe there is any keyword that will tell notepad++(or any other program that might help) to replace those characters? When i am selecting it, use Right Click and then "clear", its gone - but i dont want to do it one by one.
I don't care about removing the cause of this problem, just the effect(NULs)
Using the -d switch we delete a character. A backslash followed by three 0's represents the null character. This just deletes these characters and writes the result to a new file.
If the optional argument count is given, only the first count occurrences are replaced. ' This means you can use str. replace for replacing the substring \x00 , aka NUL, in your string with this method. To directly remove NUL, alias \0 or \00 , line-by-line, please see the answer from Matt_G.
This is a binary file which contains characters outside the set of printable ASCII characters.
On some keyboards, one can enter a null character by holding down Ctrl and pressing @ (on US layouts just Ctrl + 2 will often work, there is no need for ⇧ Shift to get the @ sign). In documentation, the null character is sometimes represented as a single-em-width symbol containing the letters "NUL".
This might help, I used to fi my files like this: http://security102.blogspot.ru/2010/04/findreplace-of-nul-objects-in-notepad.html
Basically you need to replace \x00 characters with regular expressions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With