Mega Code Archive
When inserting binary data into a string column (such as a BLOB column), the following characters must be represented by escape
NUL Represent this character by \0.
\Represent this character by \\.
'Represent this character by \'.
"Represent this character by \".