$WIDE_CHAR_BEHAVIOR
Specify the character set used for String fields with the W
packing
code.
$WIDE_CHAR_BEHAVIOR {=
} Unicode
| BMP
| Charset
Arguments
Unicode
—specifies the full range of Unicode character set (Default)BMP
—specifies the Unicode character set ranging from 0000 to FFFF.Charset
—switches theW
packing code to theC
packing code.
Defaults
Assignment file: | client assignment files |
Section: | [SETTINGS] |
Default value: | Unicode
|
Description
By default, the W
packing code is
used for Unicode. If the database does not support Unicode, or it supports only Unicode BMP, use
this setting to change its behavior.
If $WIDE_CHAR_BEHAVIOR is set
to Charset
, the $DEF_CHARSET assignment setting must also be
specified.
The value set by the Wide Character Behavior property of an entity's Database Interface, overrides the $WIDE_CHAR_BEHAVIOR setting.
Caution: When creating a database to serve as the Uniface Repository, the $WIDE_CHAR_BEHAVIOR and $DEF_CHARSET need to be specified in the assignment file before any tables are created. Existing tables will not be overwritten with any new definition.