A new Data Server Interface (DSI) configuration
parameter, unicode_format, has been added to support
sending Unicode data in U&” format which removes the
limitation of UTF-8 character set in Replication Server.
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:
- Character string – use this option if your Replication Server
uses UTF-8 character set (as it did prior to RS 15.7).
- U&” – use this option if
your Replication Server uses a character set other than UTF-8.
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”. In this case Replication
Server requires UTF-8.
- 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. In this case
Replication Server can use a character set other than UTF-8.
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.