ADO: Encoding problem ?
Database
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, i have a ms access database, there is information written in cyrillic encoding. When i read the text from c++ using Ado, it cannt read proper text, it reads only "???????????????", what should i do to read correct text in c++? here is the code
CString strItem; strItem = (char *) (_bstr_t) pRecordPtr->Fields->GetItem("name")->Value;
strItem is "?????" if when encoding is cyrillic. OR Is there sql command like "SET CHARACTER SET utf8" in Jet Sql, Mysql has the command, but wondering that Microsoft Jet sql has it? if Microsoft Jet Sql has it, it would be better to change encoding thanks