=?ISO-8859-1?Q?Daniel_=D6nnerby?= <[EMAIL PROTECTED]> wrote:
> Why isn't there a sqlite3_exec16 function?
> 

Because it is not needed.  

The sqlite3_exec() function is implemented in terms of lower-level
SQLite APis.  See the source file legacy.c for details.  If you
want an sqlite3_exec16() function, then the easiest way to get it
is to make a copy of the legacy.c source file and modify it accordingly.

Please also note that sqlite3_prepare16() works by converting its
UTF-16 argument to UTF-8 and then invoking sqlite3_prepare().  SQLite
can store and retrieve UTF-16 data without conversion using
sqlite3_bind_text16() and sqlite3_column_text16().  But the SQL
parser only understands UTF-8.  

--
D. Richard Hipp  <[EMAIL PROTECTED]>


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

Reply via email to