ValueError: Literal string tidak dapat berisi karakter NUL (0x00).

s.decode("utf-8", errors="replace").replace("\x00", "\uFFFD")
Bad Bear