Neoview Character Sets Administrator's Guide (R2.4, R2.5)

D Neoview ODBC and JDBC Driver Mappings of Character
Sets and Language IDs
This appendix provides information about the language ID values that map to the client locale
character sets supported by the Neoview ODBC drivers and Neoview JDBC driver.
The Language attribute used on the client side of the Neoview platform can take one of several
values. The default value for the character set is SYSTEM_DEFAULT. For this Neoview release,
users cannot specify other values for these character sets.
Mapping Information for the Neoview ODBC Driver for Windows
Table D-1 (page 55) shows the character sets, their associated language IDs, and the language
names that can be used by the Neoview ODBC driver for Windows. If the Language ID values
shown are not present on your Neoview ODBC driver for Windows, the driver uses a different
mapping.
Table D-1 Character Set and Language ID Mappings for the Neoview ODBC Driver for Windows
Language NameLanguage ID (decimal)Language ID (hexadecimal)Character Set
Chinese traditional10280x0404BIG5
Chinese simplified (PRC)20520x0804GBK
English10330x0409ISO8859–1
Japanese10410x0411SJIS
Korean10420x0412KSC
If there is no match, the Neoview ODBC driver for Windows assumes that the character set is
ISO8859-1.
Mapping Information for the Neoview ODBC Drivers for UNIX
If the Neoview ODBC drivers for UNIX data source attribute for the character set is
SYSTEM_DEFAULT, Linux checks the environment variables to identify the client locale in this
order:
LC_ALL
LC_CTYPE
LANG
If none is defined, it uses ISO8859-1 as the default character set.
Table D-2 (page 55) shows the mappings between character set values and language name values.
Table D-2 Character Set and Language Name Mappings for the Neoview ODBC Drivers for UNIX
Language NameCharacter Set
CISO8859-1
iso88591ISO8859-1
SJISSJIS
eucJPEUC_JP
utf8 or UTF-8UTF8
gbk, gb18030, gb2312, or hp15CNGBK
big5BIG5
Mapping Information for the Neoview ODBC Driver for Windows 55