I am storing some HTML in an SQLite3 database in Python.
When I go to insert some HTML into my SQL table I get an error that I don't understand what's wrong & more importantly how to fix the issue.
Error string:
Exception General: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
The HTML string I am inserting into the table is pretty long (about 700 characters long).
Any idea whats wrong & how I can fix this?