A string literal cannot contain NUL python code example
Example: ValueError: A string literal cannot contain NUL (0x00) characters.
s.decode("utf-8", errors="replace").replace("\x00", "\uFFFD")
s.decode("utf-8", errors="replace").replace("\x00", "\uFFFD")