A new Data Server Interface (DSI) configuration parameter, unicode_format, has been added to support sending Unicode data in U&” format.
Earlier versions of Replication Server required you to set your character set to UTF-8 for replicating all Unicode datatypes such as
unichar,
univarchar, and
unitext. Replication Server 15.7 removes this limitation, and can now send Unicode data in either of these formats:
Adaptive Server Enterprise also supports these Unicode data formats.
When configuring your Replication Server, set
unicode_format to one of these values:
- string – unicode characters are converted to character string format. For example, the string “hello” is sent out as “hello”.
- ase – unicode characters are sent out in U&’’ format. For example, the string “hello” is sent out as “U&'\0068\0065\006c\006c\006f’ ”. The two-byte unicode value is sent in network order as required by Adaptive Server Enterprise.
unicode_format is a semidynamic parameter; either restart the connections or restart Replication Server for the changes to take effect.
See Replication Server Reference Manual > Replication Server Commands > configure replication server.