Notes on conversion from type M to type N (the EBCDIC Code Set on the input side is set to Japan (Latin) Extended for IBM)

Figure 9.15 Conversion from type M to type N (the EBCDIC Code Set on the input side is set to Japan (Latin) Extended for IBM)

Case (1):

The fullwidth characters in the input data are converted to the codes of the encoding of the output data. Also, as in the example, if the output area is larger than the actual output data size, the data is padded with fullwidth spaces. If the input data contains a shift code, it is always deleted during the conversion.

Case (2):

In the conversion from type M to type N, if the input data contains a halfwidth character, a conversion error is generated. In this example, an error occurs when the character "a" is detected.

= Remarks =

In this example, the EBCDIC Code Set on the input side is set to Japan (Latin) Extended for IBM.