Unicode Support - CreateEnvironment [message #250721] |
Wed, 11 July 2007 01:26 |
srinimk
Messages: 1 Registered: July 2007
|
Junior Member |
|
|
Hi,
The database version is Oracle 10gR2.
Our application in C++ (Unix SPARC) uses OCCI interface to talk to the ORacle server.
We need to support unicode.
Can you please let me know how to initialize the environemnt object in the OCCI.
The DB setting is
NLS_LANGuage : AMERICAN
NLS_TERRITORY: AMERICA
NLS_CHARACTERSET : AL32UTF8
NLS_NCHAR_CHARACTERSET : UTF8
=== When I try to create the environment using
occi::CreateEnvironment ('UTF8','UTF8',THREADED_MUTEXED),
the application crashes after some time. However , If the create environment method uses the default character set, it works fine.
Can you please let me know how to fix this issue.
Regards
Sri
|
|
|
|