Unicode values problem (ntext)


2004-05-21 11:01:51 PM
cppbuilder0
Hi,
I try to set the value of an NText field to a WideString using these set of
commands:
--------------------------
ADOCommand1->CommandText = "INSERT Test (Data) VALUES (:ttt)";
ADOCommand1->Parameters->ParamByName("ttt")->DataType = ftWideString;
ADOCommand1->Parameters->ParamByName("ttt")->AsString = ValueStr;
//WideString
ADOCommand1->Execute();
--------------------------
After executing, all the characters above 128 (including Unicode
non-English) are changed to "????????". How can I resolve this problem?
Any help would be appreciated.
Thank you,
Mehrdad