unicode
Enable or disable Unicode support.
USYS$DB2_PARAMS unicode = on
| off
Description
If this option is not specified, Unicode support is enabled (unicode =
on
). The degree of Unicode support depends on the whether the DB2 database uses Unicode or
some other code page, and the value of the $DEF_CHARSET assignment setting.
Disabling Unicode
You can set unicode = off
if you do not use Unicode. This setting makes
the DB2 connector behave exactly as it did in earlier versions that did not support Unicode:
-
W packing code is disabled, and behaves the same as the C packing code; both map to Char, Varchar, or CLOB (depending on the field size)
-
With connector option
nls=on
, fields defined with packing code Raw are mapped to Graphic, Vargraphic, or DBCLOB, depending on the length of the field.