Part 1: Getting Started : Configuring the Product on UNIX/Linux : UTF-16 Applications on UNIX and Linux

UTF-16 Applications on UNIX and Linux
Because the DataDirect Driver Manager allows applications to use either UTF-8 or UTF-16 Unicode encoding, applications written in UTF-16 for Windows platforms can also be used on UNIX and Linux platforms.
The Driver Manager assumes a default of UTF-8 applications; therefore, two things must occur for it to determine that the application is UTF-16:
rc = SQLSetEnvAttr(*henv, SQL_ATTR_APP_UNICODE_TYPE, (SQLPOINTER)SQL_DD_CP_UTF16, SQL_IS_INTEGER);

© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.