Why does the SQLite C/C++ API return unsigned char *
s for text values as opposed to the more de-facto char *
type?
This is somewhat related to the unsigned char question, except that the SQLite API's decision seems opposite of the conventional char *
advice given for string-like values.
For example:
const unsigned char *sqlite3_column_text(sqlite3_stmt*, int iCol);