$ echo -e "this is a sentence \0 test123"
this is a sentence test123
The null here ^^ IS NOT visible
$ echo -e "this is a sentence \0 test123" | cat --show-nonprinting
this is a sentence ^@ test123
But it IS here ^^
But maybe you did not want this for a script?