Re: [sqlite] UTF16 - sqlite3_prepare16_v2

2010-05-22 Thread shion
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.

Re: [sqlite] UTF16 - sqlite3_prepare16_v2

2010-05-22 Thread shion
If i take a look at the declaration of sqlite3_prepare16_v2() it looks like this: SQLITE_API int sqlite3_prepare16_v2( sqlite3 *db,/* Database handle */ const void *zSql, /* SQL statement, UTF-16 encoded */ There is a UTF-16 encoded string needed. Black, Michael (IS)

[sqlite] UTF16 - sqlite3_prepare16_v2

2010-05-22 Thread shion
QL 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? Operating system: 2.6.31-19-generic #56-Ubuntu SMP i686 GNU/Linux IDE: NetBeans Regards, shion -- View this message i