How do you remove null values in Unix?
Answer
A large number of unwanted NUL characters, say one every other byte, indicates that the file is encoded in UTF-16 and that you should use iconv to convert it to UTF-8. If the lines in the file end with rn00 then what works is to delete the n00 then replace the r with n.
Answer
A large number of unwanted NUL characters, say one every other byte, indicates that the file is encoded in UTF-16 and that you should use iconv to convert it to UTF-8. If the lines in the file end with rn00 then what works is to delete the n00 then replace the r with n.