6.5 Multi-byte Character Set (MBCS) Support
Besides single-byte character set (SBCS) character set translation, TMA SNA supports
multi-byte character set (MBCS) translation to meet Asian customer's requirement. This
translation does not depend on translation tables under directory
$TUXDIR/udataobj/codepage
, instead, it is based on ICU libraries, which
contains more than 200 different SBCS and MBCS character sets.
To use this translation, CODEPAGE
in DMCONFIG DM_REMOTE_DOMAINS
should be specified as following format:
CODEPAGE="ASCII_CHAR_SET:EBCDIC_CHAR_SET"
ASCII_CHAR_SET
is for local domain and EBCDIC_CHAR_SET
is
for remote domain. They are separated by a colon.
Both ASCII_CHAR_SET
and EBCDIC_CHAR_SET
must be available
character sets known by ICU. A utility uconv
can be used to retrieve
relevant information of these character sets.
For example, local domain uses ASCII
Chinese code set
gb2312-1980
, and remote domain uses EBCDIC
Chinese
code set ibm-1388
:
# DMCONFIG
*DM_REMOTE_DOMAINS
CICA TYPE=SNAX CODEPAGE="gb2312-1980:ibm-1388"
Parent topic: Setting Up Data Translations