When I try to execute sql statement in Firebird C Api, I can only use char* sql statements and I can not execute wide characters. How can I use execute() or prepare() with wide characters?
const char* updstr = "UPDATE Tablo SET TABLOADI='Türkçe karakterler ğüşıç'";
//const wchar_t* updstr = L"UPDATE Tablo SET TABLOADI='Türkçe karakterler ğüşıç'";
// attach employee db
att = prov->attachDatabase(&status, "employee", 0, NULL);
// start transaction
tra = att->startTransaction(&status, 0, NULL);
// prepare statement
stmt = att->prepare(&status, tra, 0, updstr, SAMPLES_DIALECT, 0);