Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

ValueError: A string literal cannot contain NUL (0x00) characters.

s.decode("utf-8", errors="replace").replace("x00", "uFFFD")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #A #string #literal #NUL
ADD COMMENT
Topic
Name
3+3 =