OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

2.8.2 When using a code mapping table

Code conversion using a code mapping table links to CommuniNet to convert gaiji and other codes into specific code character strings. Those codes are converted in the same way as performing conversion without using a code mapping table.

If a code mapping table does not contain a code to be converted, processing is performed in the same way as performing conversion without a code mapping table. An illegal code detected is considered as an error.

Organization of this subsection
(1) Scope
(2) Usage
(3) Notes on using a code mapping table

(1) Scope

The character code converter can convert character codes covered in CommuniNet.

(2) Usage

When using the converter, issue and call functions in the following order.

  1. Start of character code conversion
    dc_clt_codeconv_open()
  2. Execution of character code conversion (Conversion can be executed two or more times)
    dc_clt_codeconv_exec()
  3. Termination of character code conversion
    dc_clt_codeconv_close()

Once character code conversion is started (dc_clt_codeconv_open()), you can execute character code conversion (dc_clt_codeconv_exec()) two or more times until you terminate the conversion (dc_clt_codeconv_close()).

(3) Notes on using a code mapping table