Neoview Character Sets Administrator's Guide (R2.3)

Table C-6 Attribute Values Used by the Neoview ODBC Driver for UNIX for a Sample DSN
Configuration
ValuesAttributes
= Data Source for Charset SupportDescription
= NEOCatalog
= example-schema-name
Schema
= 0DataLang
= ?ReplacementCharacter
= SYSTEM_DEFAULTFetchBufferSize
= TCP: example-IP-address
Server
= HP_DEFAULT_SERVICEService Name
= SYSTEM_DEFAULTSQL_ATTR_CONNECTION_TIMEOUT
= SYSTEM_DEFAULTSQL_LOGIN_TIMEOUT
= NO_TIMEOUTSQL_QUERY_TIMEOUT
The DataLang attribute is used for translation. Always set DataLang to 0 to use the default
locale setting from the OSS environment variables.
How Character Encoding Is Implemented on the Neoview JDBC Driver
The Neoview JDBC driver, which uses the Java runtime environment to perform character set
translation, automatically enables or disables translation between client locale and database
encoding based on the Neoview character set configuration of the Neoview platform.
Table C-7 (page 48) describes the translation behavior of the Neoview JDBC driver for the three
Neoview character set configurations.
Table C-7 Character Set Translation Behavior of the Neoview JDBC Driver
Unicode ConfigurationSJIS ConfigurationISO88591 Configuration
Pass-through mode is always disabled
and translation is active.
Pass-through mode is always
disabled and translation is active.
Pass-through mode is enabled and
translation is not active.
NOTE: Even when pass-through mode is enabled in the ISO88591 configuration, all character
data received from client locales and the Neoview database is automatically converted to UTF16
for use with Java String objects by the Neoview JDBC driver, then converted back to its original
encoding on its way to the Neoview database or a client locale.
You can use the replacementString property to specify the string used for character
replacement during character set decoding errors. The replacementString property should
be used only when reading data from the server. Malformed data is rejected when an attempt
is made to insert it. The default value is a question mark.
48 Configuring Neoview Client Applications