Unicode to database code set
Java™ is Unicode based, so HCL OneDB™ JDBC Driver converts data between Unicode and the HCL OneDB database code set. The code-set conversion value is extracted from the DB_LOCALE value specified at the time the connection is made. If the DB_LOCALE value is incorrect, a Database Locale information mismatch error occurs.
HCL OneDB code set name | HCL OneDB code set number | JDK code set |
---|---|---|
8859-1 | 819 | 8859_1 |
GB18030-2000 | 5488 | GB18030 |
You cannot use the HCL OneDB locale with a code set for which there is no JDK-supported encoding. This incorrect usage results in an Encoding or code set not supported error message.
The supported locales are en_us and zh_cn.