That was it.
I didn't know that the wchar_t has different bit sizes on Linux and Windows.
Thank you very much.

Jay A. Kreibich-2 wrote:
>> I know that the SQL syntax is correct and it is possible to execute that
>> source under windows.
>> I don't understand why it doesn't work with Linux.
>> Does somebody has an idea what's going wrong?
>   Wide characters are 32 bits on most non-Windows platforms.  When
>   passed to a 16 bit system, the first character of L"CREATE..." is
>   seen as ['C', '\0'].
>   This is part of the reason SQLite3 uses void* rather than wchar_t*
>   for UTF-16 strings.

View this message in context:
Sent from the SQLite mailing list archive at

sqlite-users mailing list

Reply via email to