Hello NOCaut, I convert everything to UTF-8 for insert and then back to ascii or unicode when I pull the data from the DB.
C Thursday, August 11, 2011, 4:20:36 AM, you wrote: N> I now how work with sqlite guys N> my problem: in const char * and i wont wchar_t*. becouse wchar_t* - N> unicode type understand N> int sqlite3_exec( N> sqlite3*, /* An open database */ N> const char *sql, /* SQL to be executed */ N> sqlite3_callback, /* Callback function */ N> void *, /* 1st argument to callback function */ N> char **errmsg /* Error msg written here */ N> ); N> sqlite3 *db; N> char *zErrMsg = 0; N> int rc; N> rc = sqlite3_open("c:\\test.db", &db); N> N> rc = sqlite3_exec(db, "Select * from table ", callback, 0, &zErrMsg); N> this code return char I want use wchar_t* for read unicode. N> Thanks! -- Best regards, Teg mailto:t...@djii.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users