Hi,
i need to write Korean Characters (example: 향찰/鄕札) into an Oracle database via a C++ Middleware that is using the OCILIB.
It is already possible to write and save these characters with a C# Service that uses the Oracle-Libs, which means that the Database should be configured correctly.
The C++ Middleware runs on Linux and we set the NLS_LANG to GERMAN_GERMANY.AL32UTF8.
I am able to see the cahracters in the console/log but if i try to write them into the database via an Object that accepts the values as parameters they turn to '¿¿¿¿'.
The C#-Service uses the same Objects to write the data.
The values are bound as strings (std::string) in the C++ Middleware.
Do i need to adjust anything else than the NLS_LANG to make this work?
For example the Binding?
I could not find anything that matters in the OCILIB C Documentation and there aren't any examples for C++ for cases with special characters.
We tried for days but the characters ultimatively end up as '¿¿¿¿' in the databse tables if we write them via the C++ Middleware.
Thanks for your help!
Anonymous
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Sry i entered the wron title. It should not be "UTF16 in C++".
This has probably nothing to to with UTF16 encoding :)