(Python) Using strings returned from sqlite3
In the Python programming language, the strings returned from sqlite3 are unicode, not 8-bit strings. Chilkat API methods with string arguments expect either ANSI or utf-8 8-bit strings. See these Python examples: http://www.example-code.com/python/python-source-file-encoding.asp http://www.example-code.com/python/python-charset.asp A unicode string returned from sqlite3 must be converted to an 8-bit string by using “str”, as shown below: … email.put_Subject(str(unicodeStr)) …