Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Accessing Unicode character set from Pro C/C++

4165Sep 23 2001
Hi!

I am using Oracle 8.0.5 ( on HP-UX 10.2 ) and am using Pro C/C++ to access DB from my Application. I have a Database which has Character set defined as "UTF8".

I have a table Table1 with 2 fields x and y , both of type VARCHAR2. x will store chinese data and y english data. I do a select on this table from my application ( Pro C/c++). I set NLS_LANG=American_America.UTF8 for my client session.
I am using varchar datatypes in my application in the FETCH Statment. I get a core dump after the FETECH statement when i try to access the varchar
variables in my application.

Can anybody help.

Thanx
Ramu

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 30 2001
Added on Sep 23 2001
1 comment
381 views