This function converts between ASCII encodings and EBCDIC encodings. You can also create three types of custom encoding tables.
Figure 4.4 Code conversion (1-byte codes)
(c) Saison Technology Co.,Ltd. 2007