AFAIK SQLite returns unicode objects for TEXTin Python. Is it possible to get SQLite to return string objects?
TEXT
While further testing the Python SQLite API, I found this a bit:
http://docs.python.org/library/sqlite3.html#sqlite3.Connection.text_factory
Case is closed.
TEXTDesigned to store text. Use BLOBif you want to save bytes.
BLOB
Python 3.2+. unicode ( Python 2.7)
Source: https://habr.com/ru/post/1763755/More articles:Database is missing! Finding the root cause - sql-serverExecuteSprocAccessor how to return a string from a stored procedure? - enterprise-libraryDelphi: the return value may be undefined, despite being configured after the start - delphigit version control with local files - gitBrowser Font Size - cssAdd a new filter in C # projects - c #how to embed resources with guice - javaКак получить "текст" страницы html? (Webbrowser - Delphi) - htmlAjax callback refresh div - javascriptTIdHTTP в Indy 10 - delphiAll Articles