Data Bindings
The DB Access Module for DB2 CLI fetches string data into the string type used for the result column by the database client. If your application uses a UTF-16 code page, it is recommended that you enable RWDBDB2CLILibEnvironmentHandle::unicodeMode() so that all character types bind to the type RWBasicUString instead of RWCString.
Using RWBasicUString or its derived class RWUString (from the SourcePro Core Internationalization Module) to handle all UTF-16 character data avoids costly conversions from UTF-16 to UTF-8. Please refer to section System and Environment Handles to DB2 CLI Specific Resources for more information on RWDBDB2CLILibEnvironmentHandle.