in reply to Re: Null \x00 being replaced by space \x20
in thread Null \x00 being replaced by space \x20

:crlf transforms 0D 0A into 0A on read, and 0A into 0D 0A on write. That's it.