[sqlite] Missing documentation about BLOB encoding conversions

2015-12-17 Thread Michael Kaufmann
> says: >> To cast a BLOB value to TEXT, the sequence of bytes that make up the >> BLOB is interpreted as text encoded using the database encoding. > > (The database encoding must be set when the DB file is created.) Thank you! That's the

[sqlite] Missing documentation about BLOB encoding conversions

2015-12-17 Thread Michael Kaufmann
> be text and a subsequent call to sqlite_column_text16() must by > definition perform transcoding. > > -Urspr?ngliche Nachricht- > Von: sqlite-users-bounces at mailinglists.sqlite.org > [mailto:sqlite-users-bounces at mailinglists.sqlite.org] Im Auftrag von > Michael Kaufm

[sqlite] Missing documentation about BLOB encoding conversions

2015-12-17 Thread Michael Kaufmann
Hi, I expected that BLOB data is returned unchanged by sqlite3_column_blob(), sqlite3_column_text() and sqlite3_column_text16(). The documentation at https://www.sqlite.org/c3ref/column_blob.html says: "Type conversions and pointer invalidations might occur in the following cases: ... The