Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (M)
Guardian Procedure Calls Reference Manual—522629-013
9-48
MBCS_TANDEM_TO_EXTERNAL_ Procedure
•
When MBCS_TANDEM_TO_EXTERNAL_ finds invalid or nondisplayable two-byte
characters in the source string, it maps them to reserved values as follows:
•
The definition of nondisplayable and illegal characters varies with the target
mapping format.
Mapping between HP and IBM formats is done with mapping tables. There are
many HP 2-byte character codes that do not have defined fonts. These character
codes do not have defined character code targets in the IBM format, and thus they
are mapped to the nondisplayable character code.
Mapping between HP formats and Fujitsu or JIS formats is done by algorithm. The
HP internal character set is larger than the supported Fujitsu or JIS character set.
Valid 2-byte character codes from the HP internal character set are mapped to the
target nondisplayable character code.
•
The most common definition of an illegal character code is a character pair that is
expected to be a 2-byte code but has an invalid first or second byte.
Any character mapped to either a nondisplayable or illegal character target code
becomes nonrecoverable for conversion to the original format.
Destination Format Invalid Pairs Map to Nondisplayable Pairs Map to
IBM %HFEFE %HFEFD
Fujitsu %HA0FE %HA0FD
JIS %H2222 %H2223