Unicode datatypes

Replication Server supports three Unicode datatypes, unichar(n), univarchar(n), and unitext. Unicode allows you to mix languages from different language groups in the same data server.

The Unicode datatypes behave exactly like their equivalent Replication Server datatypes. See “Character datatypes” for more information.

The Unicode datatypes share the syntax and semantics of their equivalent datatypes, except Unicode values are always stored in UTF-16, regardless of the Replication Server default character set. unichar(n) is a fixed-width, non-nullable datatype. univarchar(n) is a variable-width, nullable datatype. For unichar(n) and univarchar(n), use n to specify the number of Unicode characters. unitext is variable-width, nullable datatype.

You can:

In the same way as text:

To correctly replicate the unichar and univarchar columns, the Replication Server must be configured:

RS_charset=utf8

If the Replication Server default character set is not UTF-8, Replication Server can replicate only unichar and univarchar characters in the ASCII-7 code range.