Anders Persson <[EMAIL PROTECTED]> wrote:
What is confusing me is how are the string stored,
if i understand corrent it is UTF-8 is this done automatic
and what coding is a get back when a extra data ?

SQLite database may store string data in UTF-8, UTF-16le or UTF-16be encodings. The encoding is determined when the first table in the database is created, and cannot be changed afterwards. See "PRAGMA encoding" at

http://sqlite.org/pragma.html

When you extract the data, it is automatically converted, if necessary, to UTF-8 or UTF-16 depending on whether you use sqlite3_column_text or sqlite3_column_text16.

Igor Tandetnik

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to