我正在尝试使用 oracle 数据库选择用阿拉伯字母写的字符串C++ 问题是我读的是汉字 我正在使用他们的全球化指南
Environment* env = Environment::createEnvironment(" US7ASCII","OCCIUTF16");
Connection* con=env->createConnection("","","");
Statement* stmt= con->createStatement("select name from table where id=10");
ResultSet* rs= stmt->executeQuery();
While(rs->next())
{
rs->getUString(1);
}
那么我如何才能准确地阅读它或我错过了什么
尝试修改以下代码:
Environment* env = Environment::createEnvironment("AR8MSWIN1256","OCCIUTF16");